Looking for tool like pydoc to document perl cgi scripts

2002-09-02 Thread Jeff Kowalczyk
Is there an application for perl cgi scripts that will generate formatted HTML documentation similar to what I can get with pydoc? http://web.lfw.org/python/pydoc.html Thanks.

Re: Test::More::can_ok when using AutoLoader

2002-09-02 Thread Michael G Schwern
On Sat, Aug 31, 2002 at 02:05:53PM +0200, Elizabeth Mattijsen wrote: > >$ perl -Mblib -wle 'use AutoExample; print "Yes" if > >AutoExample->can("foo")' > >Using /home/schwern/tmp/AutoExample/blib > >Yes > > Hmmm... I'm doing BEGIN { use_ok( 'Thread::Pool' ) }... Maybe there is a > difference

Re: Eliminating the core-test BEGIN block (was Re: [ken@mathforum.org: Re: [Inline 0.43] insecure dependency when tainting])

2002-09-02 Thread Michael G Schwern
On Mon, Sep 02, 2002 at 08:13:06AM +0100, Nick Ing-Simmons wrote: > I understand all that. My point was that while test itself may care > where it is run, blib.pm does not mind as much. Also blib.pm's job > is to make running an un-installed module "easy" which is what you > want to do for a pr

Re: Eliminating the core-test BEGIN block (was Re: [ken@mathforum.org: Re: [Inline 0.43] insecure dependency when tainting])

2002-09-02 Thread Ken Williams
On Tuesday, September 3, 2002, at 08:56 AM, Michael G Schwern wrote: > On Mon, Sep 02, 2002 at 08:13:06AM +0100, Nick Ing-Simmons wrote: >> I understand all that. My point was that while test itself may care >> where it is run, blib.pm does not mind as much. Also blib.pm's job >> is to make runn

Re: Eliminating the core-test BEGIN block (was Re: [ken@mathforum.org: Re: [Inline 0.43] insecure dependency when tainting])

2002-09-02 Thread Michael G Schwern
On Tue, Sep 03, 2002 at 11:26:01AM +1000, Ken Williams wrote: > >>Thus is you need to be in t this might suit > >> > >> cd t; perl -Mblib=lib foo/bar.t > > I'd be happier if that 'cd t;' happened inside blib.pm as 'chdir "t"'. It already happens inside TestInit. > I'd be happier still if test

Re: Eliminating the core-test BEGIN block (was Re: [ken@mathforum.org: Re: [Inline 0.43] insecure dependency when tainting])

2002-09-02 Thread Ken Williams
On Tuesday, September 3, 2002, at 03:10 PM, Michael G Schwern wrote: > On Tue, Sep 03, 2002 at 11:26:01AM +1000, Ken Williams wrote: Thus is you need to be in t this might suit cd t; perl -Mblib=lib foo/bar.t >> >> I'd be happier if that 'cd t;' happened inside blib.pm as 'chdir

Re: Looking for tool like pydoc to document perl cgi scripts

2002-09-02 Thread Michael G Schwern
On Mon, Sep 02, 2002 at 01:01:24PM -0400, Jeff Kowalczyk wrote: > Is there an application for perl cgi scripts that will generate formatted > HTML documentation similar to what I can get with pydoc? > http://web.lfw.org/python/pydoc.html POD & perldoc. See the perldoc and perlpod man pages. It

Re: Eliminating the core-test BEGIN block (was Re: [ken@mathforum.org: Re: [Inline 0.43] insecure dependency when tainting])

2002-09-02 Thread Michael G Schwern
On Tue, Sep 03, 2002 at 03:34:39PM +1000, Ken Williams wrote: > >I thought the whole idea was to run blib.pm to set @INC. If > >the test suite > >is setting up @INC we don't need blib. > > blib.pm only adds to @INC. Seems like the core requires > something to strip @INC down to a small set, n