You haven't told us where/how your script started to fail, so that makes it rather hard for us to suggest how to make the point of failure more resilient.
As an aside, you might want to replace `ls ...` with File::Glob::bsd_glob or glob (and sort maybe), and `date ...` with POSIX::strftime '%Y%m%d%H%M%S' localtime, which will keep things in Perl.
In reply to Re: session expiry
by Corion
in thread session expiry
by trelane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |