On Fri, Aug 12, 2005 at 10:28:36AM +1000, [EMAIL PROTECTED] wrote: > I'm thinking that the code, tests, data and pod are all there in the pm > file - that seems on the surface a good thing. Does this seem like a > reasonable idea ? > > Against it is the significant inertia the current .t regime enjoys, but > it seems an interesting idea.
You may wish to look at Test::Inline and Test::Class which are different approaches to putting your tests near your code. Also __TEST__ is not legal Perl which gets into source filters and then the burning and itching and oi. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern I do have a cause though. It's obscenity. I'm for it. - Tom Lehrer