in reply to
find substring faster
See perlre and perlretut. Hint - its exactly the same syntax as with sed in this case. But first disable carriage control for the filehandle using
local $/ = undef();
It's more efficient than using multiline substitution.
One world, one people
Comment on
Re: find substring faster
Download
Code
In Section
Seekers of Perl Wisdom