![]() |
|
P is for Practical | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
I've been struggling with this for about an hour and I feel like I am dancing around the answer, but just not getting it. You can see I have problems understanding references...
I pass over an array in a for loop and want to stuff values into a defined hash. The hash being called is created from a value within the array
I'd then like to put other array values into this hash within the same for loop
I receive the error about can't use string as hash ref while strict refs. So I tried
but still it was a no go. Can someone please school me on the correct manner of doing this? I'll beat it into my skull by day's end. thanks very much -c In reply to Calling a hash through an array value by c
|
|