Hi,
I've managed to forget my PAUSE password - it's been a good few years
since I used it. Easy - use the 'forgotten password' link. Except that
the email address on my PAUSE account is invalid too - I lost control
of the domain in a 'renewal? What renewal?' problem some years ago.
Anyone know of
Hi,
I have a module that attempts to import scripts/modules without
executing anything in top level scope, so that test scripts can import
their functions/methods and test them. Is Test::Import::DontRun a
sufficiently descriptive name? I also thought about Test::DontRun, and
Test::DontExecute, but
Mea Culpa - it wasn't a very clear description.
OK, so perhaps you have a script like this:
###myscript.pl###
doStuff();
doOtherStuff();
sub doStuff{
# things that need testing
}
sub doOtherStuff{
# things you don't want to run
}
__END__
and you don't have the option of wrapping the top leve
-- Forwarded message --
From: Charles Colbourn
Date: 7 October 2010 10:10
Subject: Re: Module naming - Test::Import::DontRun
To: ebhans...@cpan.org
@Eirik
>>
>> There's some complex and potentially slightly
>> fragile stuff to handle @EXPORT if you want
Just a passing thought - Test::Import::* suggests the import of data,
rather than code.
The generic name for importing code into the current namespace would
be 'include' I guess, so how about
Test::Include::DontRun
?
On 7 October 2010 10:11, Charles Colbourn
wrote:
> ---
When developing code to include
One might think it intolerably rude
To use words ungrammatical
As a method pragmatical
To avoid compilation being screwed
:-P
On 8 October 2010 00:13, Paul Johnson wrote:
> On Thu, Oct 07, 2010 at 12:36:41PM +0100, Charles Colbourn wrote:
>
>> T
END__ cases now.
charles.
On 8 October 2010 09:25, Charles Colbourn
wrote:
> When developing code to include
> One might think it intolerably rude
> To use words ungrammatical
> As a method pragmatical
> To avoid compilation being screwed
>
> :-P
>
> On 8 October 2010