Rodent of Unusual Size wrote:

Doug MacEachern wrote:

   skip 'no foo';

prints:
1..2
ok 1
ok 2 # skip no foo


Not for me it doesn't; it prints 'Not enough arguments for Test::skip'.

I think that should be:

 if ($condition) {
   ok ...
   ok...
 }
 else
   skip $reason, $how_many_to_skip; # e.g. 2
 }

that's according to Test::Harness manpage. May be you have different versions?

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



Reply via email to