Providing command-line arguments to tests run via 'prove'

2007-11-24 Thread James E Keenan
Let's suppose that I have a suite of test files which I customarily run with 'prove': prove t/*.t ... where the tests in t/ are: alpha.t beta.t gamma.t Let's further suppose that each of these three tests simulates the operation of a Perl program which is normally called with command

Re: UNIVERSAL::isa 1.00_00

2007-11-24 Thread chromatic
On Saturday 24 November 2007 17:31:04 Michael G Schwern wrote: > > I've just uploaded a new development version of UNIVERSAL::isa to the > > CPAN (1.00_00). > > Got a link which search.cpan catches up? http://wgz.org/chromatic/perl/UNIVERSAL-isa.tar.gz That's always a symlink to the latest relea

Re: UNIVERSAL::isa 1.00_00

2007-11-24 Thread Michael G Schwern
chromatic wrote: > I've just uploaded a new development version of UNIVERSAL::isa to the CPAN > (1.00_00). Got a link which search.cpan catches up? -- You are wicked and wrong to have broken inside and peeked at the implementation and then relied upon it. -- tchrist in <[EMAIL PROTECTE

UNIVERSAL::isa 1.00_00

2007-11-24 Thread chromatic
I've just uploaded a new development version of UNIVERSAL::isa to the CPAN (1.00_00). Please test it if you use other modules such as Test::MockObject, as it's important to ensure that the latter works properly. This version adds one important feature (which I'll add to UNIVERSAL::can soon as

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-24 Thread Matisse Enzer
On Nov 24, 2007, at 11:49 AM, demerphq wrote: Hmm, that strikes me as likely being that something used in t/pod.t (Test::Pod maybe) is broken somehow. Theres a big debate about whether t/pod.t belongs in the actual module distribution anyway. It would be nice would be if you could configur

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-24 Thread demerphq
On Nov 24, 2007 8:02 PM, Matisse Enzer <[EMAIL PROTECTED]> wrote: > > On Nov 24, 2007, at 5:00 AM, demerphq wrote: > > > On Nov 23, 2007 11:36 PM, Matisse Enzer <[EMAIL PROTECTED]> wrote: > >> > >> I think it is actually > >> $CPAN::Perl > >> and, if the value you use contains any whitespace th

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-24 Thread Matisse Enzer
On Nov 24, 2007, at 5:00 AM, demerphq wrote: On Nov 23, 2007 11:36 PM, Matisse Enzer <[EMAIL PROTECTED]> wrote: I think it is actually $CPAN::Perl and, if the value you use contains any whitespace the entire command will get quoted, which could break things. I think this is because the

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-24 Thread demerphq
On Nov 23, 2007 11:36 PM, Matisse Enzer <[EMAIL PROTECTED]> wrote: > > On Nov 21, 2007, at 2:44 PM, Michael G Schwern wrote: > > > > While it is not documented, you can override what perl CPAN.pm uses > > with > > $CPAN::Shell. So you can write a little @INC modification module > > and set > > > >

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-24 Thread brian d foy
In article <[EMAIL PROTECTED]>, Matisse Enzer <[EMAIL PROTECTED]> wrote: > On Nov 23, 2007, at 8:19 AM, brian d foy wrote: > > > If this were my problem, I think my first attempt would be writing my > > own CPAN.pm script that set the environment and config just the way I > > wanted it. > > If y