in reply to
Re: symbol table vs. eval
in thread
symbol table vs. eval
Caveat: Your solution won't work if
$my_variable_name
is a lexical (
my
) variable. It will only work if it's a package (
our
) variable.
Comment on
Re^2: symbol table vs. eval
Select
or
Download
Code
Replies are listed 'Best First'.
Re^3: symbol table vs. eval
by
raflach
(Pilgrim)
on Feb 23, 2006 at 18:51 UTC
I am working with package variables, so in this case I'm OK, but I do wonder why I can't declare it using 'our' (see my post below). Thanks!
[reply]
In Section
Seekers of Perl Wisdom