[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] perl question: eval'ing variable as s/// pattern match
- Subject: [ale] perl question: eval'ing variable as s/// pattern match
- From: yahoo at jimpop.com (Jim Popovitch)
- Date: Sat Jan 12 15:50:25 2008
- In-reply-to: <[email protected]>
- References: <[email protected]>
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.