in reply to "if" Considered Harmful in OO programming
Just a nit:
unless (grep { $array_ref->[0] eq $_ } keys %token) {
is better as:
unless (exists $token{$array_ref->[0]}) {
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: "if" Considered Harmful in OO programming
by Ovid (Cardinal) on Sep 20, 2004 at 06:35 UTC |
In Section
Meditations