in reply to Re: Substitute array value in regular expression
in thread Substitute array value in regular expression

Shouldn't the substitution line be
$paragraph =~ s/$_/pagingRAC/gs for @patterns;
?

The PerlMonk tr/// Advocate

Replies are listed 'Best First'.
Re: Re: Re: Substitute array value in regular expression
by TomDLux (Vicar) on Dec 30, 2003 at 18:52 UTC
    update: deleted

    --
    TTTATCGGTCGTTATATAGATGTTTGCA