Think about Loose Coupling | |
PerlMonks |
Re: Re: Re: Hash slices ?by davorg (Chancellor) |
on Dec 01, 2000 at 17:53 UTC ( [id://44343]=note: print w/replies, xml ) | Need Help?? |
Any one further investigation, it seems that my original solution suffered from a fundamental problem.
@slice is now contains four undef elements, where I thought it would be an empty list (don't know why I thought that - it was very early in the morning. If the hash slice was interpreted as an array, it would therefore always be true and therefore doesn't solve ChOas' original problem. That would be better addressed using something like: -- <http://www.dave.org.uk>
"Perl makes the fun jobs fun
In Section
Seekers of Perl Wisdom
|
|