... my $guess = shift; my $file = (grep { /$guess/i } $ftp->ls )[0] or return "Couldn't find $guess.\n"; ...
In reply to Re^3: Get contents in an FTP path using glob
by hbm
in thread Get contents in an FTP path using glob
by toastbread
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |