[Petal] Problems with on-error?
larsks.20390725 at bloglines.com
larsks.20390725 at bloglines.com
Tue Nov 29 03:55:37 GMT 2005
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
More information about the Petal
mailing list