laziness, impatience, and hubris | |
PerlMonks |
Re: Index a file with pack for fast accessby BrowserUk (Patriarch) |
on Dec 16, 2011 at 19:52 UTC ( [id://944006]=note: print w/replies, xml ) | Need Help?? |
If you are using Windows -- and it will do no harm even if you are not-- one thing you should be doing is binmodeing your index file. pack 'N' can produce values containing bytes that look like various control characters -- \r, \n, ^Z etc. -- that will cause Windows to do nasty things to your index file unless you tell it that the file will contain binary data. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|