Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: How to read a text file, extract a records that contains a string, export the result into a temporary file

by hipowls (Curate)
on Feb 14, 2008 at 09:34 UTC ( [id://667899]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $in_file = 'b2bclient-gateway-heartbeat.log';
    open my $in_fh, '<', $in_file or die "Could not open file $in_file: $!
    +";
    ...
    
    close $in_fh  or die "Could not close file $in_file: $!";
    close $out_fh or die "Could not close file $out_file: $!";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-19 02:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found