The code as written in the book (well, a reasonable facsimile, anyway) works for me.
Are you sure about that? The code as written has mismatched parentheses. You either need to make the suggested change or remove the parenthesis after -1.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: (tye)Re: typo in camel 3
by davorg
in thread typo in camel 3
by jptxs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |