On Sat, May 17, 2008 at 11:39 AM, David Fleck <[EMAIL PROTECTED]> wrote:
> Ok, I understand now. I was attempting to leave the number of tests
> variable based on the size of the test array, *and* I was attempting to
> use 'use_ok'.  It looks like I can do one or the other, but not both.

Sure you can do both, like so:

  use Test::More;
  plan tests => scalar (@file_objects) * 17;
  use_ok('Statistics::Gtest');

That only won't work if @file_objects or the rest of your code depends
on your module being loaded at compile-time, obviously.

 -Ken

Reply via email to