Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 chilling in the Monastery: (1)
As of 2023-03-24 06:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?