Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Re: Re: How do I search this binary file?

by kschwab (Priest)
on Aug 21, 2002 at 00:50 UTC ( #191625=note: print w/replies, xml ) Need Help??

in reply to Re: Re: How do I search this binary file?
in thread How do I search this binary file?

It is a read, but in void context, it doesn't appear to be using excessive memory ( I suppose since it's not filling $_ or any other variable ).

I did try this on a fairly large file (with large "records"), and didn't notice a significant growth in memory footprint compared to a smaller file.

Did you have a different experience ? Update: Tried it on a really large file, and sure enough, it eats up VM :) Never mind...sounds like asking the gods to map <HANDLE> in a void context into a scan might be a good idea though...

  • Comment on Re: Re: Re: How do I search this binary file?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://191625]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2018-03-22 19:39 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (283 votes). Check out past polls.