Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Use CGI to run a Perl script via web serverby kcott (Archbishop) |
on May 25, 2017 at 11:37 UTC ( [id://1191206]=note: print w/replies, xml ) | Need Help?? |
G'day suvajit123, Welcome to the Monastery. The code you posted:
Should probably be:
You've used strict which would have aborted your script with:
That's probably in your web server logs. Consider using CGI::Carp, while developing, to see these types of messages immediately, with:
You should also turn on warnings. Had you done so, Perl would have given you more help like this:
— Ken
In Section
Seekers of Perl Wisdom
|
|