Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Using perl to extract data from multiple .txt files

by rjt (Deacon)
on Nov 14, 2012 at 15:55 UTC ( #1003843=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (<*.txt>) {
        open my $fh, '<', $_ or die "Can't open $_: $!";
    
    ...
        print "$_: $record\n";
        close $fh;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003843]
help
Chatterbox?
and nobody stirs...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2017-01-19 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.