![]() |
|
"be consistent" | |
PerlMonks |
Re^3: pushing multiple key-value pairs into an existing hashby choroba (Bishop) |
on Feb 11, 2013 at 17:45 UTC ( #1018202=note: print w/replies, xml ) | Need Help?? |
I do not undestand. __DATA__ is a filehandle. There is no method to add a filehandle's content to a hash. In your example, though, you are using which seems like iterating over the filehandle line by line. What exactly do you need? Why is adding the pairs one by one or creating a temporary hash not an option?
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|