Hi raevans,
I work with windows 2k.. sorry. Most books have a section of things to look out for when writing cross-platform code. I think the perl documentation has something too.
I looked at the description of that script at http://www.scriptarchive.com and it sounds like it's supposed to be...
I know I read about that recently and I think the solution was to switch around your command line arguments on the shebang line so that -T is first:
#!/usr/bin/perl -T etc....
-T is for taint checking but I really can't tell you more than that :)
you would have to add a subroutine to your program called "dienice" to create a special error page. Since it wasn't there, the script crapped out.
ex:
sub dienice {
my($errorMsg) = @_;
print "OOPSIE! SCRIPT CRAPPED OUT BUT NOT BECAUSE THERE WAS NO SUB CALLED...
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.