in reply to Revisiting strict and @ISA
Incidentally you messed up the my $class = ref($proto) || $proto meme. Which there are some good reasons not to use, it is better to make the method start with my $class = shift;
A random style note. As is pointed out in Code Complete, while many different indentation/brace styles are pretty much equivalent (as long as you are consistent), there is experimental evidence indicating that comprehension is best with indents in the 2-4 range. An indent of 6 or 8 may look more attractive, but is harder to work with. Therefore I'd strongly suggest reducing how much you indent.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Revisiting strict and @ISA
by Zen Seeker (Initiate) on Oct 29, 2004 at 21:56 UTC |