in reply to Trapping Errors from XML::RSS
When you want to trap die-ing code, eval it. Eval will return undefined if the code died and $@ will have the error message.
Update: kyle++ pointed out a major thinko, naming the wrong function, repaired.
After Compline,
Zaxo
|
|---|