On Fri, 28 Jul 2000, Barrie Slaymaker wrote:
> I think the =also tag approach does that pretty well, but I'm not
> hearing anyone else say yay/nay on it.
>
> Whether the examples get converted to tests could be flagged in
> POD at the top of the file, or by using slightly different syntaxs:
>
> =also_for lint
>
> =also_for test foo.t
>
> instead of
>
> =also_for example
>
> So, is it crazy? Too complex? Or just BOOOOOoooooring?
>
Is each example to be standalone? ie,
=begin example
foo;
=end example
=pod
Stuff.
=cut
=begin example
bar;
=end
Is foo and bar two different examples? Or one that does foo, then bar?
Wouldn't it be easier to simply chain multiple sections?
=begin example | testing
foo;
=end testing
Stuff;
=begin testing
bar;
=end example | testing
Perhaps nesting is a tad confusing.
=begin example | testing
foo;
=end
=begin example
Stuff;
=end
Or am I missing the point?
--
Bryan C. Warnock
([EMAIL PROTECTED])