I now want to change the value of $file2 from "bob" to "sam", but I would like to do it using only the information in the array? Seems like it should be easy, just can't figure it out.my $file1 = "tom"; my $file2 = "bob"; my $file3 = "joe"; my @names = ("file1", "file2", "file3");
In reply to storing variable names in an array by scifiaddict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |