you could do this cleaner with a regexp even.$tmp = `ls -lrt`; @array = split /\n/,$tmp; print $array[@array-1];
In reply to Re: Getting latest file from FTP server
by krujos
in thread Getting latest file from FTP server
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |