perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Caceres <>
Subject Re: Why I use mod_perl (PR stuff)
Date Wed, 09 Jun 2004 19:40:41 GMT
On Wed, 2004-06-09 at 13:58, James G Smith wrote:
> Chris Shiflett <> wrote:
> >Not to discourage any PHP bashing (I'll often join in), but a few things
> >on your list aren't really that accurate:
> >
> >--- James G Smith <JGSmith@TAMU.Edu> wrote:
> >>   o No support for testing
> >>   o No support for documentation
> >>   o No way to declare variables / manage typos

> Right now, in Perl, I can embed my documentation and tests right next
> to the code being documented and tested.  The tests themselves become
> part of the documentation.  This also means I can write the
> documentation and tests and then hand the file off to someone else
> for implementation; they will have all the examples and explanations
> they need (or the tests aren't complete) when they write the code. (I
> will admit that even this is stetching the Perl support a bit and
> required that I write some code myself which I have yet to release on
> CPAN [trying to think of a suitable name atm]).

I'm familiar with POD, but how can you embed tests, or do you mean only
documentation about tests?

Rafael Caceres

Report problems:
Mail list info:
List etiquette:

View raw message