* nadim khemir <[email protected]> [2010-08-21 10:45]:
> IMVHO, because formatting issues are so not interesting,
>
> my $self = shift;
> my $name = shift;
>
> is much better written
>
> my ($self, $name) = @_ ;
I would write that
my $self = shift;
my ( $name ) = @_;
:-)
(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.)
--
*AUTOLOAD=*_;sub _{s/::([^:]*)$/print$1,(",$\/"," ")[defined
wantarray]/e;chop;$_}
&Just->another->Perl->hack;
#Aristotle Pagaltzis // <http://plasmasturm.org/>