|
|
If a plain perl exception is raised, and caught in python then the exception type object will be perl.PerlError and the value will be the stringified form of $@. Perl call frames are currently invisible in tracebacks. Example:
>>> perl.eval("3/0")
Traceback (innermost last):
File "<stdin>", line 1, in ?
perl.PerlError: Illegal division by zero
at (eval 1) line 2.
|
|