On Fri, Apr 29, 2011 at 5:02 AM, Uri Guttman <u...@stemsystems.com> wrote:

>
> also why use qw for sequential numbers when a range will do?
>
> Because I went stupid and just blindly copypasted instead of thinking :)
Seriously, why use qw when I'm not _quoting words_?


> so you can streamline yours with a slice:
>
> my $status = join '', grep defined, @jvalue{ 0 .. 5 } ;
>
> This one was on purpose though - The slice might insert new keys into the
hash, and I recently spent the good half of an hour debugging just that..!

without more from the OP you can't tell
> which one is better suited.
>
> While I agree, I think that yours is the way to go -- Hash slices don't get
enough love.

Thanks for the corrections, Uri!

Reply via email to