good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: another 'array to hash' questionby tcf22 (Priest) |
on Dec 10, 2003 at 14:32 UTC ( [id://313722]=note: print w/replies, xml ) | Need Help?? |
Normally doing this is not good practice. If you need the variable names, then you should most likely use a hash.
Here is an example of using an array to build a hash, which may help you, based on the title of your post.
- Tom
In Section
Seekers of Perl Wisdom
|
|