John Porter wrote:
> 
> Glenn Linderman wrote:
> >
> > 1) why extract it if it could potentially be used in place
> > 2) if it cannot be used in place, then why bundle it
> 
> I tend to agree.  If they're stored as podified sections, and
> get extracted to files, then pod has merely been (mis-)used as
> some kind of shar.

What about a compromise?

Imagine a special "inline_tests.t" which goes through every
.pm in the distribution's "lib" directory, and runs every
in-line test it finds directly (WITHOUT extracting it to a .t). 
All we'd need is one; it would be general-purpose, and you 
could just download it from CPAN and stick it into the 
t/ directory of any distribution.

For more flexibility, the test could look at an inline_tests.t.list
file in the cwd to determine *which* .pm's should be tested.

Best of Both Worlds.   :-)

Eryq

Reply via email to