If you want a hash, you have to give it a name, unless you make it an anonymus hash of course.use strict; use warnings; my %value_for; $value_for{'row10'} = 1; # # later... my $key = 'row' . 10; print $value_for{$key};
In reply to Re: Can't use string
by stiller
in thread Can't use string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |