On Sun, May 4, 2008 at 1:45 AM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote: snip > > if ($string =~/^$match | $match | $match$/g){ snip > my $match = qr(\b1\b); snip
Ah, I was missing something, the spaces. This is much better than my answer. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/