|
|
| There's more than one way to do things | |
| PerlMonks |
Re: use strictby gjb (Vicar) |
| on Jun 01, 2004 at 13:01 UTC ( #358022=note: print w/ replies, xml ) | Need Help?? |
|
Why not consider using a hash? If I understand you correctly you want to assign to variables that have names you don't now in advance.
Hope this helps, -gjb- Update: Thanks dragonchild for pointing out a typo (%hash rather than @interests in the last foreach)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||