|
Posted by Brian McCauley on December 14, 2004, 11:32 pm
Please log in for more thread options
Peter Billam wrote:
> Greetings. When test.pl is invoked, by all the various things
> that invoke it, is it reliably in the current directory ?
No.
>
> I'd like to be able to say (in test.pl) e.g.
>
> require './Bar.pm'; import Foo::Bar;
> so that when I'm editing and debugging Bar.pm I know I'm testing my
> latest work.
> Or should I use simply
>
> use Foo::Bar;
>
> but then not be quite sure if I'm testing a previously installed version ?
When testing you should simply set PERL5LIB
|