in reply to Re^6: Module Announcement: Perl-Critic-1.01 ("scalar")
in thread Module Announcement: Perl-Critic-1.01
I wasn't trying to contradict you, play semantic games, nor make a silly argument. My concern was that your statements would mislead people with less understanding of the context issue.
Perhaps, I was too brief before, because
my %hash= ( key1 => genValue1(), key2 => genValue2() };
was an obviously made-up example and I didn't care to pick at it.
Why couldn't genValue1() generate a solitary first value or die and so conform to a bare return convention? Update: which is just to say either convention is workable; also key => val() || undef,
Be well,
rir
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Module Announcement: Perl-Critic-1.01 ("scalar")
by tye (Sage) on Jan 27, 2007 at 06:50 UTC | |
by rir (Vicar) on Jan 29, 2007 at 03:45 UTC |