Ovid wrote:
> @EXPORT = (
> @Test::More::EXPORT,
> @Test::Differences::EXPORT,
> @Test::Exception::EXPORT,
> );
Don't forget @EXPORT_OK
Ovid wrote:
> Also at http://use.perl.org/~Ovid/journal/32614
>
> I get tired of writing this all the time:
>
> #!/usr/bin/perl
>
> use Test::More tests => 23;
> use Test::Exception;
> use Test::Differences;
> use Test::NoWarnings;
>
> ...
>
> I write that *a lot*. No more. This
Also at http://use.perl.org/~Ovid/journal/32614
I get tired of writing this all the time:
#!/usr/bin/perl
use Test::More tests => 23;
use Test::Exception;
use Test::Differences;
use Test::NoWarnings;
...
I write that *a lot*. No more. This does the same thing:
#!/usr/bin/perl