-   Linux - General (
-   -   Can't locate object method "splitpath" via package "File::Spec" (

RobJohnston 06-28-2003 03:44 AM

Can't locate object method "splitpath" via package "File::Spec"
While trying to install mailscanner4 on a RaQ3i I find it errors with the following:

Can't locate object method "splitpath" via package "File::Spec" at /usr/lib/perl5/5.00503/i386-linux/ExtUtils/ line 33.

I have installe file::spec from the File-Spec-0.82 rpm but it still won't run. does have the entry:

my $Filename = __FILE__;
$DEFAULT_MSKIP = (File::Spec->splitpath($Filename))[1].

So what can I do to remedy the situation?

Many thanks, Rob.

Flibble 06-28-2003 09:54 AM

Try installing it directly from CPAN.

Check you have File::Spec::Unix installed also, File::Spec just loads the required OS module to do the stuff.

Does have a "use File::Spec;" line at the top?


Flibble 06-28-2003 09:59 AM

Oh, and you might get more replys if you post this in Linux-Software , some people avoid General.

Can one of you MODs move the thread?


All times are GMT -5. The time now is 01:17 PM.