Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2016-10-28 21:23 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.