Some things you should always do during testing is use strict, use warnings and print fatals to browser.
I don't like web debugging, the server never gives you what you're hoping for. If you can, install ActivePerl (it's free) onto your system (unless you're on *nix) and run scripts from CMD.
Hope this helps.
sulfericacid "Age is nothing more than an inaccurate number bestowed upon each of us at birth as just another means for others to judge and classify us- sulfericacid
I have install ActivePerl (it's free) onto my system (I am using windows2000).My perl script is having database information can you please tell me it will work on cmd ? How i should use it ?
You're welcome TTMTeach. If you are using a database, pending on what you're using (like MySQL) you will need to install that and any other perl modules that you're using.
That's the only downside to testing on your own system; you need to set it up like a web server with all the extras. Once you install the database, you just run it as you normally would. You may have to change the path for the DB, but the syntax is the same.
To run a perl script, type "perl test.pl" in CMD (minus quotes).
Hope this helps.
sulfericacid "Age is nothing more than an inaccurate number bestowed upon each of us at birth as just another means for others to judge and classify us- sulfericacid
sulfericacid "Age is nothing more than an inaccurate number bestowed upon each of us at birth as just another means for others to judge and classify us- sulfericacid
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.