develooper Front page | perl.perl6.language | Postings from August 2001

Re: Changes in addressing of package variables?

Thread Previous
From:
Michael G Schwern
Date:
August 25, 2001 11:22
Subject:
Re: Changes in addressing of package variables?
Message ID:
20010825142239.A18846@blackrider
On Fri, Aug 24, 2001 at 09:20:26PM -0700, Brent Dax wrote:
> I was thinking about Perl 6 today, and thought of something: if the
> sigil is now part of a variable's name, does that mean that $Foo::bar
> should actually be Foo::$bar in Perl 6?

Techincally 'bar' is shorthand for the complete name, 'Foo::bar'.  So
'$Foo::bar' would remain.

Besides, Foo::$bar looks funny.

-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <perl-qa@perl.org>	     Kwalitee Is Job One
conway: unit of mind expansion.  One Conway == ~20 lines of Perl code
  found in $CPAN/authors/id/D/DC/DCONWAY, which gives the sensation
  of your brain being wrapped around a brick, with kiwi juice squeezed
  on top.
	-- Ziggy

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