At 10:46 AM 3/1/2006 -0800, Lyle Kopnicky wrote:
>for it, so I used File::Slurp.  Admittedly, the binmode => ':raw' is a 
>bit obtuse, and could be left out.  I do think it will boost performance 
>slightly, which I am curious about in the context of this discussion.)

I could be faster in that perl won't try to "figure out" if it should do any
encoding processing, e.g. Unicode, CRLF, and also not do any if it otherwise
would.

For these big substitutions on interdeterminate size files I like to roll my
own routines.  U know, go into a read() loop, pull in a buffer, scan with
index() , write out, read, etc.  I'm geared far more toward
performance/coolness than simplicity. ;)




--
REMEMBER THE WORLD TRADE CENTER         ---=< WTC 911 >=--
"...ne cede malis"

00000100

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to