Re: Current Directory when test.pl runs ?
From: Brian McCauley (nobull_at_mail.com)
Date: 12/14/04
- Next message: Brian McCauley: "Re: RFC: new module Text::Tagged::InDesign::File and related"
- Previous message: Dave Saville: "Net::FTP mdtm problems"
- In reply to: Peter Billam: "Current Directory when test.pl runs ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 14 Dec 2004 22:32:29 +0000
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
- Next message: Brian McCauley: "Re: RFC: new module Text::Tagged::InDesign::File and related"
- Previous message: Dave Saville: "Net::FTP mdtm problems"
- In reply to: Peter Billam: "Current Directory when test.pl runs ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|