[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] @$a[0] = 5;



Adam Rice wrote:

> Quoting Christian Borup (borup@borup.com):
> > $a and $b seems to be accidents of history indeed (along with $AUTOLOAD).
>
> What's wrong with $AUTOLOAD?

No more than whats wrong/strange with $a and $b. Its a parameter passed outside
the ordinary parameter scheme... For no apparent reason. Ever notice what the
perlsub man-page says:

     The fully qualified name of the original subroutine
     magically appears in the $AUTOLOAD variable in the same
     package as the AUTOLOAD routine.  The name is not passed
     as an ordinary argument because, er, well, just because,
     that's why...

- Borup


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe