in reply to Re: Problem with ampersand and regex
in thread Problem with ampersand and regex
It looks like it trying to make the question overly simple, I made the mistake of omitting something very important. The definition of $line is coming from looping through an array as in the following:
With that in mind, how can I define $line with single quotes? Sorry for the mistake.foreach my $line (@array) { . . . }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Problem with ampersand and regex
by davido (Cardinal) on Dec 19, 2012 at 20:24 UTC | |
by Anonymous Monk on Dec 19, 2012 at 20:30 UTC | |
by frozenwithjoy (Priest) on Dec 19, 2012 at 21:18 UTC |
In Section
Seekers of Perl Wisdom