Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Extracting string from a file

by ww (Bishop)
on Nov 20, 2013 at 13:18 UTC ( #1063517=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open (my $FH, '<', "bindo1061990A.txt") || die "Cannot open bindo10619
    +90A,txt: $!";
    
    my @lines = <$FH>;
    ...
    for my $line (@lines) {
        say $line;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1063517]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2014-07-29 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (214 votes), past polls