http://qs321.pair.com?node_id=396805


in reply to Re: How a script becomes a module
in thread How a script becomes a module

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>