Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

basicdez's scratchpad

by basicdez (Pilgrim)
on Jun 02, 2004 at 07:42 UTC ( #359249=scratchpad: print w/ replies, xml ) Need Help??

%goodfiles = ( "MODEL\.CON" => "1", "ZMD\.IN" => "1", "SCP\.CON" => "1", "MDLUPDT.DAT" => "1", "MKMDL.ERR" => "1", ); opendir (DIR, "."); @files = readdir (DIR); foreach $file (@files) { print $file; next if ($file =~ /^\./); next if -d "$file"; $file =~ s/\s*$//; $file = "\U$file"; next if ($goodfiles{$file}); print $file; $garbage{$file}++; } closedir (DIR);
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-12-28 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (180 votes), past polls