Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
You don't need to prefix subroutine calls with &. Thats a throwback from perl 4 like 10 years ago? I dunno for sure, sometimes I see it. Its ugly and extra work anyways!. Nested dereferencing "arrows" (->) can be ommitted. I'm not sure how best to describe it, but here is the before: my $category = lc($musing_cats->{$ref_id}->{'ref_name'}); After: my $category = lc $musing_cats->{$ref_id}{'ref_name'}; In reply to Re: How's My Style Now?
by juster
|
|