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

Re: seek() functionality on pipes

by sgifford (Prior)
on Jul 22, 2008 at 03:07 UTC ( #699202=note: print w/ replies, xml ) Need Help??


in reply to seek() functionality on pipes

Net::FTP::RetrHandle on CPAN has some code that might be useful. It emulates a seekable filehandle from an FTP server by a combination of skipping over bytes, doing partial transfers, and restarting the transfer when necessary. You could do something similar: skip bytes to seek forward, and to seek backwards start over and then seek forward.


Comment on Re: seek() functionality on pipes

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2015-07-30 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls