develooper Front page | perl.perl5.porters | Postings from May 2003

Re: Should we deprecate $; ?

Thread Previous
From:
Nicholas Clark
Date:
May 14, 2003 03:21
Subject:
Re: Should we deprecate $; ?
Message ID:
20030514112108.C71863@plum.flirble.org
On Wed, May 14, 2003 at 11:03:07AM +0200, Rafael Garcia-Suarez wrote:
> Michael G Schwern <schwern@pobox.com> wrote:
> > On Wed, May 14, 2003 at 09:01:19AM +0200, Rafael Garcia-Suarez wrote:
> > > > FWIW, Tie::Math makes good use of it because writing tied, multi-dimensional
> > > > data structures is a pain in the ass.  Its easier to handle:  $tied{1,2,3} 
> > > > than $tied{1}{2}{3}.
> > > 
> > > However, there is no real significant advantage over $tied{"$a,$b,$c"}.
> > > At least when the number of dimensions is constant (as in every good
> > > universe ;-)
> > 
> > Except the need for explicit quoting. :(
> 
> awk has to be better for something ;-)
> 

No, that's not right. If I understand you correctly, that now
means that awk is better for *two* things

1: (the equivalent of) $/ can be a regexp
2: what you just said.

Note, that I don't know any awk, so I may be very wrong here.

Nicholas Clark

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About