Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2023-03-26 18:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?