Sat Aug 19 11:10:23 2006alexchorny [...] gmail.com - Ticket created
Subject:
Support $@ in otherwise block
It is intuitive to use $@, and it is shorter then to write $_[0]. Also
$_[0] is bad style.
-------
Alexandr Ciornii, http://chorny.net
Sun Aug 20 15:09:25 2006leonerd-cpan [...] leonerd.org.uk - Correspondence added
On Sat Aug 19 11:10:23 2006, alexchorny@gmail.com wrote:
Show quoted text
> It is intuitive to use $@, and it is shorter then to write $_[0]. Also
> $_[0] is bad style.
OK, latest code in svn now sets
local $@ = $err;
during catch and otherwise blocks. These updates will be in the next
released version of Error on CPAN, due to be 0.17003.
--
Paul Evans
Sun Aug 20 15:09:26 2006The RT System itself - Status changed from 'new' to 'open'
Sun Aug 20 15:09:27 2006leonerd-cpan [...] leonerd.org.uk - Status changed from 'open' to 'resolved'