hi i've read some related question non seems tohelp me. this is a code that will explain what i want.
for ($i=0;$i<5;$i++) {
my $new$i=$i;
print "\$new$i is $new$i";
}
expecting variables to be named $new0
,$new1
,$new2
,$new3
,$new4
,$new5
.
and to have the abillty to use them in a loop like the print command is trying to do.
Thanks