http://www.perlmonks.org?node_id=1061077


in reply to perl substitute

Some thoughts:

Replies are listed 'Best First'.
Re^2: perl substitute
by LanX (Saint) on Nov 03, 2013 at 21:34 UTC
    > You alternate between slashes and hashes for regexp delimiters for no apparent reason

    Well he needs another regex-delimiter an substitutions with </end> tags to avoid the slash.

    Cheers Rolf

    ( addicted to the Perl Programming Language)

      Sure, but that's no reason to alternate - just use hashes throughout. Inconsistency is the bug's friend. :)

      Thank you. This helps.