Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Hashes and File searches

by CharlesClarkson (Curate)
on Dec 16, 2001 at 16:39 UTC ( #132335=note: print w/replies, xml ) Need Help??


in reply to Hashes and File searches

Well if the files you downloaded are in @ftp_files and if your hash has the filenames as keys and is called %file_names, you could do something like:

my @exceptions = grep ! exists $file_names{$_}, @ftp_files;




HTH,
Charles K. Clarkson

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://132335]
help
Chatterbox?
[marto]: hmm, I wonder who is actually checking for such things

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2018-01-18 11:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (211 votes). Check out past polls.

    Notices?