Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 having an uproarious good time at the Monastery: (4)
As of 2015-02-27 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    On my keyboard, Caps lock is:








    Results (457 votes), past polls