According to Dan Sugalski:
> At 9:50 PM -0400 7/9/02, Chip Salzenberg wrote:
> >    3a. If so, how can one distinguish among the e.g. many C<my $foo>
> >        variables declared within the current function?
> 
> One pad per block, rather than per sub.

I just remembered why I thought that woundn't work:  BEGIN is a block.

   my $x = 1;
   BEGIN { %MY::{'$y'} = \$x }
   print $y;

So what do I need to make this aliasing work?  C<%OUTER::MY::>?
-- 
Chip Salzenberg         - a.k.a.  -        <[EMAIL PROTECTED]>
         "It furthers one to have somewhere to go."

Reply via email to