in reply to Re: possible to evaluate scalars stored in a string?
in thread possible to evaluate scalars stored in a string?
This prints out "Command1 = ".%alerts = ('command1' => 'Command1 = $val1'); $val1 = 'foobar'; print "eval {$alerts{command1}}";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: possible to evaluate scalars stored in a string?
by tachyon (Chancellor) on Dec 13, 2003 at 04:17 UTC | |
by etcshadow (Priest) on Dec 13, 2003 at 05:03 UTC | |
by tachyon (Chancellor) on Dec 13, 2003 at 05:07 UTC | |
|
Re: Re: Re: possible to evaluate scalars stored in a string?
by Mr. Muskrat (Canon) on Dec 13, 2003 at 04:04 UTC |