in reply to Re: Regexp context with ||
in thread Regexp context with ||
Update: Added code that didn't post($a) = "abc" =~ /a(b)c/ || 'd'; print $a; # prints 1 ($a) = "abc" =~ /a(b)c/ or 'd'; print $a; # prints 'b'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: Re: Regexp context with ||
by merlyn (Sage) on Apr 09, 2003 at 03:48 UTC |