in reply to "File::Basename" problems

what is the easiest way to install "File::Basename" on a system with perl 5.10.0 ?
File::Basename is a core module. It should already be installed. What happens when you try this?
perldoc File::Basename

Getopt::Long and Pod::Usage are also core modules, by the way.

Replies are listed 'Best First'.
Re^2: "File::Basename" problems
by iksrazal (Initiate) on Aug 03, 2009 at 20:41 UTC
    Hmm, the only way I can get perl 5.10.0 now is via the absolute path "/usr/bin/perl5.10.0" , as "/usr/bin/perl -v" says its 5.8.9. "perldoc File::Basename" gives me something similar to a manpage, but is that from the 5.8.9 version on my system? I saw no 5.10.0 path for perldoc on my system. Anyways, I get this error now:

    /home/iksrazal/Documents> /usr/bin/perl5.10.0 msgconvert.pl mymessage.msg

    Unknown DIR entry MsoDataStore

    Unknown FILE entry SummaryInformation

    Unknown property 1039

    Unknown property 10F3

    Please help
      is that from the 5.8.9 version on my system?
      This will show you the full directory path of the module file:
      perldoc -l File::Basename

      My guess is that those error messages are coming from your msgconvert.pl file, which you have not shown here.