[Pdx-pm] anonymous (?) regex use - nevermind, solved
Michael Rasmussen
mikeraz at patch.com
Wed Jan 12 12:11:28 PST 2005
Michael Rasmussen wrote:
> $regex = "/fu/";
>
> @found = grep {$regex} @group;
changed to
$regex = "fu";
@found = grep {/$regex/} @group;
is the way to do it.
--
Michael Rasmussen, Portland Oregon
Be appropriate && Follow your curiosity
http://meme.patch.com/memes/BicycleRiding
Get Fixed: http://www.dampfixie.org
The fortune cookie says:
Rome was not built in one day.
-- John Heywood
More information about the Pdx-pm-list
mailing list