>>>>> "JP" == Jerrad Pierce <[EMAIL PROTECTED]> writes:
JP> You mean
JP> print ${$x.'::hash'}{key}
JP> It's generally not the best thing to do and should be avoided if possible.
JP> At a minimum you probably should do
JP> print ${__PACKAGE__'::hash'}{key}
and both are symrefs and will break under strict.
ranga, why do you want to do that? my rule is use symrefs for when you
are munging the symbol table. otherwise use a regular hash as it is
meant for data stuff.
uri
--
Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm