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

Re^4: Extracting selected fields form file record

by haukex (Archbishop)
on Feb 08, 2022 at 12:25 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-26 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found