[Wellington-pm] Roundup of last night's meeting ...
Grant McLean
grant at mclean.net.nz
Tue Mar 10 18:57:44 PDT 2009
On Wed, 2009-03-11 at 14:50 +1300, Brenda Wallace wrote:
> On Wed, Mar 11, 2009 at 2:36 PM, Andrew Chilton
> <andychilton at gmail.com> wrote:
> > # sorry Srdjan
> > if ( $next_meeting eq '2009-04-14' ) {
> > $not_here++;
> > }
> > else {
> > $attending++;
> > }
>
> I challenge srdjan to re-write that without if statements
> (unless is CHEATING)
$attendance{$date}++;
would seem the obvious solution.
Grant
More information about the Wellington-pm
mailing list