|Just another Perl shrine|
Re^3: Script to check for multiple files on FTP and print the one missingby zork42 (Monk)
|on Jul 01, 2013 at 05:07 UTC||Need Help??|
Are you using Net::FTP?
However, as I do not know the format of @directory_listing, you might need some extra processing where indicated on line 12.
If @directory_listing contains a line of info for each file, you'd need a regexp to extract the file from each line, and you'd change line 10 from
foreach my $file (@directory_listing) to:
foreach my $line (@directory_listing)
UPDATE: s/Net::FTP/Net::FTP/ (ie linkified it)