Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Processing multiple files

by aitap (Deacon)
on Dec 12, 2012 at 19:38 UTC ( #1008576=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    opendir (DIR, $dir) or die $!;
    my @textFiles = grep /\.txt/, readdir DIR;
    
  2. or download this
        my $text_file_out = $text_file;
        $text_file_out =~ s/\.txt//;
        $text_file_out = $text_file_out . '_new.txt';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008576]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2014-07-26 12:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (176 votes), past polls