Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

How to parse this file

by hervebags (Initiate)
on Oct 19, 2011 at 13:50 UTC ( #932408=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open FILE2, "+>file2.txt" or die "Cant not open file2.txt!";
    my $line;
    ...
    {
            print FILE2 $line;
    }
    
  2. or download this
    Open(FILE, file1.txt)
    @theFile = <FILE>;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://932408]
Approved by BrowserUk
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2017-05-28 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?