You are using "perl -w", which is good; But you are failing to listen to the warnings I believe. If you run it, you will see that you get a warning
A simple perl -c index.pl would have turned up this warning as well.Name "main::basedir" used only once: possible typo at ./index.pl line +5.
updated Removed incorrect information regarding warnings and STDOUT
In reply to Re: Re: Re: Re: error management...
by Sifmole
in thread Newbie error management question
by shambright
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |