|
|
| "be consistent" | |
| PerlMonks |
How do I take a slice of a hash reference?by entropy (Sexton) |
| on May 14, 2001 at 23:17 UTC ( [id://80399]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.entropy has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (references)
I can take a slice of an array ref, but not of a hash ref: The first print statement works, the second is a syntax error. I also have this problem when taking a slice of an anonymous hash: Again, the first statement works, but the second is a syntax error. Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||