On Wed, Sep 08, 2010 at 09:53:17AM +0200, Aristotle Pagaltzis wrote:
> > my ($self, $name) = @_ ;
> 
> I would write that
> 
>     my $self = shift;
>     my ( $name ) = @_;

+1

> (To my way of thinking, the invocant is not a positional
> argument, so I always pull it out of @_ with a `shift`,
> whereas I unpack arguments using list assignment.)

Ditto

-- 
Paul "LeoNerd" Evans

leon...@leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Attachment: signature.asc
Description: Digital signature

Reply via email to