smackdab has asked for the wisdom of the Perl Monks concerning the following question:
(I am setting some values in a Tk::Entry widget... and I wonder why both are not equiv...)In a sub, when I do: my $rs_en1 = shift(); I can set the value of en1: $$rs_en1 = "new" But, if I do: my $en1 = ${shift()}; Setting $en1 = "new" doesn't work
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: deref question
by graff (Chancellor) on Apr 10, 2003 at 03:33 UTC | |
|
Re: deref question
by pg (Canon) on Apr 10, 2003 at 05:57 UTC |