On Sat, 2007-10-13 at 23:28 +0200, Torsten Schoenfeld wrote:
> Not sure whether it was worth it, but still: I added something along the
> lines of:
> 
> unless (eval 'use Test::Number::Delta; 1;') {
>       *delta_ok = sub {
>               ok(1, 'Fake delta_ok');
>       }
> }

Wouldn't skip be prettier to use a SKIP block?

SKIP: {
        skip "Test::Number::Delta not available", $how_many unless
$have_test_number_delta;

        delta_ok(.... );
};

./borup

_______________________________________________
gtk-perl-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to