Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi All, Am currently trying to install the module File::stat using the ppm tool but am failing. Following my install instruction I get the following error reported which I have no idea of the meaning. Any help at all would be greatly appreciated. PPM>install File-stat Install package 'File-stat?' (y/N): y Installing package 'File-stat'... Error installing package 'File-stat': Could not locate a PPD file for package File-stat PPM> Many thanx in advance, Val

Replies are listed 'Best First'.
Re: Module install problems
by grantm (Parson) on Jul 16, 2002 at 13:16 UTC

    File::stat is part of the core Perl distribution - you already have it. Also, it's only available as part of the Perl distribution - not a separate CPAN module.

Re: Module install problems
by fuzzyping (Chaplain) on Jul 16, 2002 at 21:31 UTC
    In addition to grantm's comment...

    I always check to make sure a module isn't already installed before attempting it. A quick one-liner would be all you need. If it returns cursor, it's installed. If it returns error, you need to install!

    perl -e 'use File::Stat'

    -fp