I found it. However use Test::Harness Fails:

$ perl -e "user Test::Harness"
Can't locate object method "user" via package
"Test::Harness" (perhaps you forgot to load
"Test::Harness"?) at -e line 1.
%SYSTEM-F-ABORT, abort

So my @INC looks like the following:
$ perl -e "print @INC"
PERL_ROOT:[LIB]
perl_root:[lib.VMS_AXP.5_6_1]
perl_root:[lib]
perl_root:[lib.site_perl.VMS_AXP]
perl_root:[lib.site_perl]/perl_root/lib/site_perl.

I can see the file if I do a dir.

$ dir perl_root:[lib.test]
Directory PERL_ROOT:[LIB.TEST]
HARNESS.PM;1  


PERL_ROOT is defined as follows:
$ sho log  perl_root
   "PERL_ROOT" = "$4$DKA100:[PERL-5_6_1.]"
(LNM$PROCESS_TABLE)
   "PERL_ROOT" =
"$4$DKA104:[INTERNET_PRODUCT_SUITE.P500502.]"
(LNM$SYSTEM_TABLE)
$ 

This statement is pointing to the wrong dir.
What does it do?

$4$DKA104:[INTERNET_PRODUCT_SUITE.P500502.]

The COM that sets up PERL looks like the following:
$ define perlshr $4$dka100:[perl-5_6_1]perlshr.exe
$ define perl_root $4$dka100:[perl-5_6_1.]/trans=conc
$ PERL :== $PERL_ROOT:[000000]PERL.EXE
$ PERLDOC :== $PERL_ROOT:[000000]PERL.EXE
PERL_ROOT:[UTILS]PERLDOC.COM -T
$ define/nolog POD2MAN PERL_ROOT:[UTILS]POD2MAN.COM
$ POD2MAN :== $PERL_ROOT:[000000]PERL PDO2MAN
$ PERLBUG :== $PERL_ROOT:[000000]PERL
PERL_ROOT:[UTILS]PERLBUG

Summary, why does "use Test::Harness" fail?





--- Michael G Schwern <[EMAIL PROTECTED]> wrote:

> On Wed, Nov 17, 2004 at 01:21:23PM -0800, Lamb
> Joseph wrote:
> > I have found out that we installed a Perl binary
> from
> > the following site:
> > ftp://ftp.sidhe.org/perl-5_6_1-vmsaxp-7_2-1.zip
> > 
> > I download this zip file and I cannot not see a
> > Test::Harness module.
> 
> Its in the lib directory but you have to install the
> whole thing to get
> it.
> 
> 
> > So, do I need to install Perl from source to get
> the
> > Perl Core modules like Test::Harness?
> 
> The latest version of Test::Harness, and some other
> core modules, are 
> available as stand-alone modules on CPAN.  You do
> not need to reinstall
> Perl to upgrade, though they typically require at
> least 5.6.
> http://search.cpan.org/dist/Test-Harness/
> 
> 
> -- 
> Michael G Schwern        [EMAIL PROTECTED] 
> http://www.pobox.com/~schwern/
> "Trust Ivanova, trust yourself.  Anybody else: shoot
> them."
>         -- Susan Ivanova, B5
> 


=====
Joseph Lamb


                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 

Reply via email to