in reply to I need a "non-trivial" bug for my script!
As you're doing regex matching, you could construct something around this feature:
From perlop:
m/PATTERN/cgimosx
(...)
If the PATTERN evaluates to the empty string, the last successfully matched regular expression is used instead.
I've seen rather experienced programmers having been bitten by this...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: I need a "non-trivial" bug for my script!
by Fletch (Bishop) on Feb 26, 2009 at 22:13 UTC | |
by Lawliet (Curate) on Feb 27, 2009 at 00:28 UTC | |
by f00li5h (Chaplain) on Feb 27, 2009 at 00:36 UTC |