Problems with on-error?
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
Howdy, I've run into what looks like a problems with the on-error directive in Petal 2.17. Given the following input (straight from the Petal documentation): <p petal:on-error="string:Cannot access object/method!!"> $object/method </p> Petal produced the following output: string:Cannot access object/method!! It looks as if Petal is treating the argument to on-error as a simple string rather than as an expression, so the string: modifier shows up in the text. $ perl -MPetal -e 'print $Petal::VERSION, "\n"' 2.17 -- Lars