Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: splitting an input stream

by BrowserUk (Patriarch)
on Nov 07, 2003 at 12:21 UTC ( [id://305280]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl -sw
    use strict;
    ...
        qx[ x --filename:tempfoo -firstline:1 -lastline:1000 ];    
    }
    close FOO;
    
  2. or download this
    perl -ne"print" junk | perl -le"
    while( not eof(STDIN) ) { 
    ...
    100 99 98 97 96 95 94 93 92 91
    110 109 108 107 106 105 104 103 102 101
    ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-25 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found