in reply to Re: Re: $1 trap
in thread $1 trap
The OP's code was actually returning "yes" if $1 contained a true value. So, the following would've returned "no":
chg("w0rd", qr/(\d)/); # that's a zero, not capital O
bbfu
Black flowers blossom
Fearless on my breath
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re3: $1 trap
by Chady (Priest) on Aug 11, 2003 at 05:43 UTC | |
by Crackers2 (Parson) on Aug 11, 2003 at 16:46 UTC |