Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Do you know where your variables are?
 
PerlMonks  

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

by rjt (Chaplain)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2014-04-21 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (493 votes), past polls