in reply to Re: Re: creating a new symbol table glob
in thread creating a new symbol table glob
Looks like that's enough. Your big problem is that even changing the glob addresses has no effect in the rest of the program, since perl never looks up symbol-table entries at runtime unless you use a symbolic ref. There is very limited functionality to replacing the glob entries in the symbol-table, since you must use it like a hash in order to see the effect.{ $foo::bar = "Show me"; print \*{"foo::bar"}; local %foo:: = %foo::; print \*{"foo::bar"}; print ${"foo::bar"}; # runtime lookup }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: creating a new symbol table glob
by jql (Acolyte) on Nov 05, 2003 at 04:39 UTC |