I upgraded the Cwd.pm v. 2.04 which was shipped with perl 5.6.1. because I 
received 
errors to upgrade to the 2.06 version of Cwd.pm. I download the Cwd.pm 2.06 
version
and replaced the Cwd.pm 2.04 version with the upgraded 2.06 version. That's why 
you are seeing comments in your Cwd.pm v. 2.04 that was shipped with perl 5.6.1.

The Cwd.pm 2.06 has this at line 128 

# By Brandon S. Allbery
#
# Usage: $cwd = getcwd();


sub getcwd {
    abs_path('.'); <-----  This is the location of line 128 in Cwd.pm v. 2.06
}



>>> Geoffrey Young <[EMAIL PROTECTED]> 09/27/05 3:11 PM >>>


Philip M. Gollucci wrote:
> Brenda Washington wrote:
> 
>> With or without the, "apxs" location, I'm still getting these error
>> when I run this command. I upgraded
>> the Cwd.pm version 2.04 to 2.06, and I also installed Apache 2.0.54
>> with no problem, and it works find. 
> 
> Is it possible that Cwd doesn't define abs_path on your platform?

something along those lines was my thought as well, but that I think this is
probably not a mod_perl issue at all...

> $ perl Makefile.PL
> Undefined subroutine &Cwd::abs_path called at /opt/perl5/lib/5.6.1/Cwd.pm
> line 128.

line 128 in the Cwd that shipped with 5.6.1 is a comment.  see

  http://search.cpan.org/src/GSAR/perl-5.6.1/lib/Cwd.pm 

so, something is amuck it seems, if you can't use your perl to call
Cwd::abs_path() (or, more likely, Cwd::getcwd())...

--Geoff

Reply via email to