Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: Re: Extract lines and output...

by broquaint (Abbot)
on Oct 10, 2001 at 13:42 UTC ( [id://117960]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Extract lines and output...
in thread Extract lines and output...

Shorter still -
open(LOG, ">logfile.txt"); while($FL = <*.extension>) { open(FL) and print LOG "$_\n",(<FL>)[0..3] and close(FL) } close(LOG);
But we could golf this 'til the cows come home :o)
HTH

broquaint

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-18 06:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found