use Test::More qw( no_plan ); use MyPackage; # try relative ( good idea, but does not work ) my $p1 = MyPackage->new( -config => './test.conf' ); # try absolute ( bad idea, does not *always* work ) my $p2 = MyPackage->new( -config => '/tmp/MyPackage/t/test.conf' ); # help !