Andy Lester wrote in perl-qa :
> I can do this:
>
> use PHP::Session 0.10;
>
> to ensure a version number, but I can't do this:
>
> use_ok( 'PHP::Session', '0.10' );
The optional args to use_ok are for imports, not for version numbers.
[...]
> Before I go digging into a patch, is this
I can do this:
use PHP::Session 0.10;
to ensure a version number, but I can't do this:
use_ok( 'PHP::Session', '0.10' );
because I get this error:
alester@flr4[~/tw/Dev]$ more Modules.t
#!/usr/bin/perl -w
use strict;
use Test::More tests => 1;
use_ok( 'PHP::Session', '0.10' );
ale