in reply to variable with $$

You can do this with
my $name = "Sam"; my $newvar = '$' . $name;

-Mark

Replies are listed 'Best First'.
Re: Re: variable with $$
by Anonymous Monk on Apr 08, 2004 at 05:04 UTC
    thanks all