|
|
| Do you know where your variables are? | |
| PerlMonks |
behaviour of doby rsiedl (Friar) |
| on Apr 13, 2006 at 22:10 UTC ( [id://543268]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.rsiedl has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks, I'm trying to find out more about how the perl function 'do' works. I'm aware that in almost all cases it's better to 'use', but please bear with me... If I have a cgi script with the following: and the code looks like such: everything works fine. However with the following setup, it doesnt print the warning the the http error log... Script: code.pl: another/code.pl Can anyone explain this to me please? Cheers, Reagen Big Update: I've discovered that the problem is not being caused by the do code, but because one of the blocks of code is forking into the background. I'm still interested to know what is going on, ie. how i can see the warnings, but I'm not sure now what route to take. Should I mark this question as mute and open a new one or continue with this one? Cheers.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||