[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] perl question: eval'ing variable as s/// pattern match



On Jan 12, 2008 3:36 PM, Chris Woodfield <rekoil at semihuman.com> wrote:
> my $match = 'matched $1';

Try this:

my $match = 'matched ' . $ARGV[0];

hth,

-Jim P.