
chefchanyu
New User
Aug 8, 2011, 11:30 PM
Post #1 of 2
(35109 views)
|
perl dyname variable name help
|
Can't Post
|
|
Hi every one: I been looking for solution dynamically create a variable name. something like this: my new21MO = "testing"; my $number = 21; my $exName = "MO"; my $string = "new" . $number . $MO; print $$string; <------------- I tested this aren't working. is there a way to declare this string to a variable? please help me out.
|