Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-09-18 07:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (109 votes), past polls