in reply to Re^2: Pugs configuration - file locations
in thread Pugs configuration - file locations
If you want to coerce that to boolean context, the question mark has to be in front of the expression:
(Don't know if ~~ or ? has the higher precedence, so you might need parenthesis. But I don't think so ;)my $bool = ? $z ~~ m/\d+/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Pugs configuration - file locations
by John M. Dlugosz (Monsignor) on Feb 27, 2008 at 09:08 UTC | |
by moritz (Cardinal) on Feb 27, 2008 at 09:24 UTC |