Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Re: Trying to properly use WWW::Mechanize
- Tad J McClellan
February 2, 2008, 2:09 am
rate this thread
You have a logic error that is independant of the choice of
If you are able to get the resource, but are unable to create
the file, your program will output:
file "blah/blah.index.html" created
If you are not able to get the resource, your program will output:
unable to create file "blah/blah.index.html"
You should always, yes *always*, check the return value from open():
open(HTML, ">$file") or die "could not open '$file' $!";
email: perl -le "print scalar reverse qq/moc.noitatibaher0cmdat/"