Re: use_ok w/version numbers

2002-07-02 Thread Michael G Schwern
On Mon, Jul 01, 2002 at 09:57:24AM -0500, Andy Lester wrote: > 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/per

Re: use_ok w/version numbers

2002-07-01 Thread Rafael Garcia-Suarez
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

use_ok w/version numbers

2002-07-01 Thread Andy Lester
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