NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Fat comma (Score:3, Insightful)
Your code would be easier to read if you write
{ map {$$_[0] => $$_[1]} @$ref }
to underline the fact it builds a hash. It's a common idiom.
(On the other hand, you can write
{ map @$_, @$ref }
as well. I wouldn't recommend it.)
My learning of perl has not ended yet either. I don't think it's discouraging.
Reply to This
Natural language (Score:2, Insightful)
Re:Natural language (Score:1)