[Bioperl-l] test::more template

Torsten Seemann torsten.seemann at infotech.monash.edu.au
Thu Oct 19 19:24:03 EDT 2006


Nathan,

> use strict;
> use Bio::Root::IO;  # cant test for this, might be needed to get Test::More

use File::Spec->catfile as Bio::Root::IO->catfile just delegates anyway,
and File::Spec is "guaranteed" to be installed with Perl 5.6+.

>     use lib Bio::Root::IO->catfile('t','lib');

Simpler as:
	use lib 't/lib';
I understand the 'lib.pm' accepts Unix style directories REGARDLESS of native 
platform.

-- 
Torsten Seemann
Victorian Bioinformatics Consortium, Monash University, Australia


More information about the Bioperl-l mailing list