Hi,

I am using MacPerl 5.2.1a1 and having some problem with File::
Spec module.

If I run this script
    use File::Spec::Functions;
    print File::Spec->abs2rel( catdir( rootdir, 'a' ), rootdir ),
"\n";

I get,
    ::a:

instead of
    a:

which is what I expect.


If I run this
    use File::Spec::Functions;
    print File::Spec->abs2rel( catdir( rootdir, 'a' ) ), "\n";

I get an error.
    # Undefined subroutine &File::Spec::Mac::cwd called.
    File 'Macintosh HD:dbNET:Tools:MacPerl f:site_perl:File:Spec:
Mac.pm'; Line 331

Is this what's expected?

--
KIMURA Takeshi
mailto:[EMAIL PROTECTED]

Reply via email to