develooper Front page | perl.perl5.porters | Postings from June 2006

$A::::B::C - bug or feature, _you_ be the judge

Thread Next
From:
Chip Salzenberg
Date:
June 30, 2006 20:52
Subject:
$A::::B::C - bug or feature, _you_ be the judge
Message ID:
20060701035117.GK2962@tytlal.topaz.cx
  DB<2> package A::::B; $C = 1

  DB<3> x \%A::
0  HASH(0x852ae08)
   '::B::' => *A::::B::

$A::::B::C is inside package '::B::' which is inside package 'A::' .

Further evil elaboration is left as an exercise for the Damian.
-- 
Chip Salzenberg <chip@pobox.com>

Thread Next


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