On Thu, Feb 18, 2010 at 7:04 AM, Nicholas Clark wrote:
> On Thu, Feb 18, 2010 at 12:00:23PM +, David Cantrell wrote:
>> On Thu, Feb 18, 2010 at 11:24:24AM +, Nicholas Clark wrote:
>> > On Wed, Feb 17, 2010 at 08:44:57AM -0800, macke...@animalhead.com wrote:
>> > > $^X is simpler, and simpl
On Thu, Feb 18, 2010 at 12:00:23PM +, David Cantrell wrote:
> On Thu, Feb 18, 2010 at 11:24:24AM +, Nicholas Clark wrote:
> > On Wed, Feb 17, 2010 at 08:44:57AM -0800, macke...@animalhead.com wrote:
> > > $^X is simpler, and simpler solutions are preferable.
> > > Can it be wrong?
> > Yes.
On Thu, Feb 18, 2010 at 11:24:24AM +, Nicholas Clark wrote:
> On Wed, Feb 17, 2010 at 08:44:57AM -0800, macke...@animalhead.com wrote:
> > $^X is simpler, and simpler solutions are preferable.
> > Can it be wrong?
> Yes.
> For starters, it may be a relative path, and the program has already cha
On Wed, Feb 17, 2010 at 08:44:57AM -0800, macke...@animalhead.com wrote:
> $^X is simpler, and simpler solutions are preferable.
> Can it be wrong?
Yes.
For starters, it may be a relative path, and the program has already changed
directory. As $^X originates from argv[0] in main(), it's also poss
$^X is simpler, and simpler solutions are preferable.
Can it be wrong?
cmac
On Feb 17, 2010, at 4:02 AM, David Cantrell wrote:
On Tue, Feb 16, 2010 at 06:47:25PM -0800, cr...@animalhead.com wrote:
So I would like to add some tests to one of my test files,
involving something like `perl -c s
On Tue, Feb 16, 2010 at 06:47:25PM -0800, cr...@animalhead.com wrote:
> So I would like to add some tests to one of my test files,
> involving something like `perl -c scripts/my_script`, and
> fail if there's an error.
>
> My question is: where under M::B can I get the path to the
> perl under wh
cr...@animalhead.com wrote:
Q: How can a test program tell if it's running in verbose mode?
you don't. use note($message) from Test::More to output things that
should be seen only in verbose mode.
cheers,
Aldo
Thanks Jonathan,
Test::Script would have filled the bill nicely if it
didn't have so many dependencies. I have aborted
installations for having than many!
So I ended up with the following, which works fine in my
test program:
my $build = Module::Build->current();
my $tail = $build->is_unixish(
Hi there,
Thanks for your contribution to CPAN.
> So I would like to add some tests to one of my test files,
> involving something like `perl -c scripts/my_script`, and
> fail if there's an error.
There is a module for this - Test::Script - which can be integrated
into your test suite.
>
> My qu
Recently I submitted IP::World, my first module using M::B.
I think that the standard install process does not syntax check
Perl scripts in a scripts folder. Is that right?
So I would like to add some tests to one of my test files,
involving something like `perl -c scripts/my_script`, and
fail i
On Sep 21, 2005, at 8:57 AM, David Baird wrote:
My understanding is that you can say
$builder->config_data( templates_dir => $whatever_tt_inc_returned );
and MB will build and install My::PackageName::ConfigData, which can
be loaded and queried for the config setting.
My::PackageName::ConfigD
On 9/21/05, Randy W. Sims <[EMAIL PROTECTED]> wrote:
> Shlomi Fish wrote:
> > Hi all!
>
> Hi Shlomi,
>
> Sorry for the delayed response.
>
[ snip ]
Spooky. This is *precisely* what I've been trying to figure out today,
for a Maypole distribution.
> Hmm, MB has some support for creating a custom
Hi Randy!
Thanks for your help.
Regards,
Shlomi Fish
On Wednesday 21 September 2005 14:07, Randy W. Sims wrote:
> Shlomi Fish wrote:
> > Hi all!
>
> Hi Shlomi,
>
> Sorry for the delayed response.
[SNIPPED.]
>
> Regards,
> Randy.
Shlomi Fish wrote:
Hi all!
Hi Shlomi,
Sorry for the delayed response.
I've written a module using Module::Build and CGI::Application. I'm using
several Template Toolkit templates all placed in one directory. (placed
inside the module tree under "./templates/"). I'm setting this template
di
Hi all!
I've written a module using Module::Build and CGI::Application. I'm using
several Template Toolkit templates all placed in one directory. (placed
inside the module tree under "./templates/"). I'm setting this template
directory to the default TT search path using "$self->tt_include_path
15 matches
Mail list logo