testing
Stray Taoist
mwk at straytoaster.co.uk
Mon Nov 3 14:13:32 GMT 2008
On Mon, Nov 03, 2008 at 01:57:01PM +0000, Jonathan Stowe wrote:
> It is highly un-recommended to have have a module file which contains
> a differently named package. That is to say your "$LIB/My/Module.pm"
> should contain the package "My::Module".
bah. Package switching ftw! How else can you make things harder for people,
have them wonder where magic methods appear from[0], and avoid the
must-write-tests-for-an-untested-package rule sometimes enforced?
m.
[0] ack is your friend.
--
http://weblog.straytoaster.co.uk/ # Gotta have a weblog. It is the law.
http://www.flickr.com/photos/straytoaster # All the cool kids have photostreams
http://www.myspace.com/thirtyspokes # talent not included
More information about the london.pm
mailing list