Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: The Power of Objectsby jeffa (Bishop) |
on Jul 28, 2005 at 18:34 UTC ( [id://479081]=note: print w/replies, xml ) | Need Help?? |
Just a comment on your constructor -- it doesn't seem right to me. You subclass HTML::Template, but you also instantiate one, rebless it and return that instead of calling SUPER::new(). Seems a little a strange, almost like a Factory ... anyways, here's how i might have coded it instead:
jeffa L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In Section
Meditations
|
|