in reply to Re: Hash of arrays of hashes
in thread Hash of arrays of hashes
next unless ref $current_port eq ""; # skip if $current port is NOT a +scalar.
Wouldn't this be better if more directly stated as
next if ref $current_port; # skip if $current port IS a reference
thus avoiding the double negative?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Hash of arrays of hashes
by NetWallah (Canon) on Apr 14, 2013 at 21:09 UTC | |
by AnomalousMonk (Archbishop) on Apr 14, 2013 at 22:42 UTC | |
by Anonymous Monk on Apr 15, 2013 at 00:43 UTC |