in reply to dynamically creating variables named after the contents of an array
for (@array){ $hash{$_} = OBJ->new; ... work using variable... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: dynamically creating variables named after the contents of an array
by gnu@perl (Pilgrim) on Sep 06, 2002 at 18:28 UTC |