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

Re^4: Most efficient way to load file contents into scalar?

by spx2 (Deacon)
on Apr 24, 2009 at 23:19 UTC ( [id://759930]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Most efficient way to load file contents into scalar?
in thread Most efficient way to load file contents into scalar?

Perl alone won't help you at all in understanding how things work out. In particular the Mmap module that betterworld suggested is useful but not without knowing how it works. If you're serious about this I suggest you take the APUE book , flip to page 487 and read up on how mmap actually works(pages 487 and 488). Perl is not always the best context to learn some ideas,in this case it is just a wrapper around a concept which does not belong to it.

  • Comment on Re^4: Most efficient way to load file contents into scalar?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-26 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found