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

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



On Sun, 4 Jul 1999, Peter Scott wrote:

> At 09:36 AM 7/4/99 -0700, Randal L. Schwartz wrote:
> >But the point is really that $a and $b is "use strict" immune.  Try
> >the same example with $c and $d, and you'll see. :)
> 
> I've always wondered whether there was a reason to use $a and $b for sort 
> subs instead of @_[0,1].  Is it just an accident of history which is too 
> late to undo?

See the article 'Seven Useful Uses of local' (page 20, col 2, para 1) in
tpj.

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

--
Roderick A. Anderson
raanders@altoplanos.net               Altoplanos Information Systems, Inc.
Voice: 208.765.6149                            212 S. 11th Street, Suite 5
FAX: 208.664.5299                                  Coeur d'Alene, ID 83814


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