Do you know where your variables are? | |
PerlMonks |
Re: Premature Error using CGI.pmby aardvark (Pilgrim) |
on Feb 24, 2001 at 13:35 UTC ( [id://60642]=note: print w/replies, xml ) | Need Help?? |
CGI error debugging can get really whacky. I feel your pain.
I would try breaking that one long print statement into several smaller print statements. Maybe then you can get a more meaningful error. You are using the standard syntax when you might want to try the object-oriented syntax, Try ... Also, are you sure you want your shebang line(#!) to be: #!/user/bin/perl -wT and not #!/usr/bin/perl - wT I hope this helps. Get Strong Together!! BTW - does anybody know why a shebang of: #!/user/local/bin/perl works on my machine? I have no /user directory, so I would expect an error, but I got none. Is something going on under the hood?
In Section
Seekers of Perl Wisdom
|
|