blakeduke has asked for the wisdom of the Perl Monks concerning the following question:
etc...01000103.drw 01020028.prt 01040167g.prt 01050051.asm 01070119.drw
Now I need to continue with the code and have it take the hash and search through subdirectories that match those numbers..How do I continue? I will then need to move those numbers into an archive directory once I find a match.open(FILE, "<dup01032004.txt"); while (<FILE>) { $hash{$.} = $_; } close(FILE); foreach (keys %hash) { print("$hash{$_}"); }
Updated Steve_p - added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: subdirectory question
by NetWallah (Canon) on Jan 03, 2005 at 06:13 UTC | |
by ambrus (Abbot) on Jan 03, 2005 at 19:45 UTC | |
by NetWallah (Canon) on Jan 04, 2005 at 01:44 UTC | |
by ambrus (Abbot) on Jan 04, 2005 at 10:32 UTC | |
|
Re: subdirectory question
by jbrugger (Parson) on Jan 03, 2005 at 06:13 UTC | |
|
Re: subdirectory question
by dave_the_m (Monsignor) on Jan 03, 2005 at 10:34 UTC |