|
|
| There's more than one way to do things | |
| PerlMonks |
Re^2: How a script becomes a moduleby brian_d_foy (Abbot) |
| on Oct 05, 2004 at 22:36 UTC ( #396805=note: print w/ replies, xml ) | Need Help?? |
|
You're right: that $scores doesn't belong there. I get away with it though because I don't show you the implementation of high_score(), which only needs the instance data to get at the database. I've updated the code.
-- brian d foy <bdfoy@cpan.org>
In Section
Meditations
|
|
||||||||||||||||||||