deorth has asked for the wisdom of the Perl Monks concerning the following question:
sub routine { my $arrayname = "FOO"; my $string = "@${arrayname} = ('foo', 'bar');"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: evaluating a string into the executing program
by Joost (Canon) on Jul 14, 2007 at 00:24 UTC | |
|
Re: evaluating a string into the executing program
by GrandFather (Saint) on Jul 14, 2007 at 00:38 UTC | |
by deorth (Scribe) on Jul 14, 2007 at 01:00 UTC | |
by dsheroh (Monsignor) on Jul 14, 2007 at 01:47 UTC | |
by deorth (Scribe) on Jul 14, 2007 at 04:33 UTC |