Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: Extracting selected fields form file record

by haukex (Archbishop)
on Feb 08, 2022 at 12:25 UTC ( #11141231=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $all = do { open my $fh, '<', $filename or die "$filename: $!";
        local $/; <$fh> };
    
    my @lines = do { open my $fh, '<', $filename or die "$filename: $!";
        <$fh> }; chomp @lines;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2022-11-30 17:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?