in reply to Re^2: Get contents in an FTP path using glob
in thread Get contents in an FTP path using glob
... my $guess = shift; my $file = (grep { /$guess/i } $ftp->ls )[0] or return "Couldn't find $guess.\n"; ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Get contents in an FTP path using glob
by toastbread (Novice) on Feb 01, 2010 at 20:33 UTC | |
by ikegami (Patriarch) on Feb 01, 2010 at 21:03 UTC | |
by hbm (Hermit) on Feb 01, 2010 at 20:44 UTC |