good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Self resurrecting perl scriptsby RhetTbull (Curate) |
on Apr 12, 2001 at 18:41 UTC ( [id://72062]=note: print w/replies, xml ) | Need Help?? |
That's very similar to what I needed to do. Thanks for posting the snippet! I think I'll incorporate this idea into my script. I've got a "download_file" sub similar to your get_files so it should be a fairly easy fix. That seems much easier than trapping "die", etc. Although, I must admit that in working on this and reading the replies here I've learned *a lot* about perl that I didn't know two days ago! ;-) --RT
In Section
Seekers of Perl Wisdom
|
|