Diane4Luo has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: find substring faster
by roboticus (Chancellor) on May 29, 2011 at 16:07 UTC

    Diane4Luo:

    Ermmm.... faster than what?

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Re: find substring faster
by planetscape (Chancellor) on May 29, 2011 at 17:40 UTC
      yes. We are working together on this project. Thanks!
Re: find substring faster
by salva (Canon) on May 29, 2011 at 15:43 UTC
Re: find substring faster
by thezip (Vicar) on May 29, 2011 at 15:01 UTC

    Volo a infantia equus.


    What can be asserted without proof can be dismissed without proof. - Christopher Hitchens
Re: find substring faster
by anonymized user 468275 (Curate) on May 29, 2011 at 15:25 UTC
    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