${*{$::{sym}}{HASH}}{name};

As we know, $::{sym} == *main::sym, it's a typeglob.
but what is **main::sym? and the same,what is *{$glob}?thanks.


On 12/6/05, Flemming Greve Skovengaard <[EMAIL PROTECTED]> wrote:
>
> Wiggins d'Anconia wrote:
> >
> > Now that you understand it, replace it with $sym->{name} so the next
> > person doesn't have to ask. Unless you are using a really old Perl.
> >
>
> Actually that should be *sym->{name} instead of $sym->{name} ( or
> %sym->{name}
> but that's deprecated ).
> Else you get "Variable "$sym" is not imported at ..." when using 'use
> strict;'
> ( as you should ).
>
> --
> Flemming Greve Skovengaard                    The prophecy of the holy
> Norns
> a.k.a Greven, TuxPower                        The world is doomed to die
> <[EMAIL PROTECTED]>                   Fire in the sky
> 4112.38 BogoMIPS                              The end is coming soon
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>

Reply via email to