use Devel::Peek; Dump($@); [download]
In reply to Re: Where did $@ go? by ikegami in thread Where did $@ go? by John M. Dlugosz