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

Jim Popovitch yahoo at jimpop.com
Sat Jan 12 15:50:25 EST 2008


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.



More information about the Ale mailing list