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

Re: splitting an input stream

by ptkdb (Monk)
on Nov 07, 2003 at 13:03 UTC ( #305282=note: print w/replies, xml ) Need Help??


in reply to splitting an input stream

Your script 'x' could output the offset into the file that it found itself at when it finished. Your wrapper script captures this, and the next time that it runs you use 'seek'(ref pg 779 Programming Perl 3rd Ed) to advance the file handle to that position the next time it runs

You add two parameters --echo-offset and --start-at-offset=fileoffset

Replies are listed 'Best First'.
Re: Re: splitting an input stream
by Nitrox (Chaplain) on Nov 07, 2003 at 13:19 UTC
    I cannot change x

    -Nitrox

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2023-06-08 12:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (31 votes). Check out past polls.

    Notices?