Skip Menu |

This queue is for tickets about the Error CPAN distribution.

Report information
The Basics
Id: 21081
Status: resolved
Priority: 0/
Queue: Error

People
Owner: Nobody in particular
Requestors: alexchorny [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



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
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