in reply to Hash name variable substitution
prints "hello". Perhaps your issue lies elsewhere. If you can come up with a small runnable program that illustrates this error that may be more helpful.$customer->[0]{_address1} = 'hello'; my $i = 1; my $varname = '_address' . $i; print $customer->[0]{$varname};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Hash name variable substitution
by peterb (Novice) on May 21, 2007 at 20:24 UTC |