laziness, impatience, and hubris | |
PerlMonks |
Re: Catch XML errorby philcrow (Priest) |
on Jul 13, 2007 at 20:44 UTC ( [id://626535]=note: print w/replies, xml ) | Need Help?? |
Try wrapping in eval:
Note the scope. Define the variable outside the eval, or you'll only be able to use it in the block. Phil
The Gantry Web Framework Book is now available.
In Section
Seekers of Perl Wisdom
|
|