Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: seek and process from there on

by blazar (Canon)
on May 30, 2006 at 13:47 UTC ( [id://552492]=note: print w/replies, xml ) Need Help??


in reply to Re: seek and process from there on
in thread seek and process from there on

You could try something using the:
$` ($PREMATCH) and $´ ($POSTMATCH)
operators.

So he should slurp in the whole file all at once into a string and apply a match to it. Then seems like you're suggesting he will have to

open my $postmatch, '<', \$' or die $!;

and search while(<$postmatch>) (or to use some trick along these lines). Very, very smart indeed...

Log In?
Username:
Password:

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

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

    No recent polls found