At a glance it looks fairly well, but as you don't tell us what's going wrong, it's hard to tell you where the problems might be. I use WWW::Mechanize for browser emulation - that does all the cookie handling for me.
If you don't have Crypt::SSLeay installed, https:// URLs might not work for you and you'll get a 500 error from LWP for that. But again, as you don't tell us anything about the errors you're seeing, it's hard to tell.
Maybe the problem is that you never define $file_name anywhere. Knowing about the errors you're seeing would help confirm that.
In reply to Re: Document Fetcher
by Corion
in thread Document Fetcher
by istoutgrill
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |