[Catalyst] script/create.pl -mech controller (patch)

Sebastian Riedel sri at oook.de
Fri Mar 3 17:06:55 CET 2006


03.03.2006 16:50 Carl Franks:

> On 03/03/06, A. Pagaltzis <pagaltzis at gmx.de> wrote:
>>
>>     use Test::More;
>>     eval 'use Test::WWW::Mechanize::Catalyst qw( myapp )';
>>     plan $@
>>         ? skip_all => 'Test::WWW::Mechanize::Catalyst required'
>>         : tests => 2;
>
> ooh, I like that
>
> Sri, you want another patch with that instead? {sigh}

No, i've applied the previous one with some changes.

Btw. it has to be:

     plan $@
         ? ( skip_all => 'Test::WWW::Mechanize::Catalyst required' )
         : ( tests => 2 );


--
sebastian




More information about the Catalyst mailing list