in reply to Re^3: Can't coerce UNKNOWN to string in substitution iterator (splain, (??{}))
in thread Can't coerce UNKNOWN to string in substitution iterator
Now back to verbs, using
$2 - $1 <= $c ? '(*FAIL)' : '(*ACCEPT)'
makes it fail in the exact same way ...
WRT Special Backtracking Control Verbs (in Perl version 5.10+): Rather than using (??{ ... }) to dynamically compile a '(*FAIL)' or '(*ACCEPT)' string into the regex, it may be advantageous to use the
"(?(condition)yes-pattern|no-pattern)"
or
"(?(condition)yes-pattern)"
conditional expression constructs; they're generally a bit faster and IMHO much more clear.
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Can't coerce UNKNOWN to string in substitution iterator (splain, (??{}))
by beech (Parson) on Oct 11, 2016 at 01:55 UTC |