in reply to install .pm

"..I have a module PDF.pm.."

I guess. Try:

use lib q(/path/to/lib); use PDF;

Put PDF.pm in /path/to/lib

See lib

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»

Replies are listed 'Best First'.
Re^2: install .pm
by Anonymous Monk on Jun 03, 2014 at 22:47 UTC
    Hi This returns "Can't locate CorneliOS/Lib/PDF/Create.pm in @INC". The PDF.pm file looks like this: package CorneliOS::Lib::PDF; use strict; use lib "$ENV{'DOCUMENT_ROOT'}/.__sys"; use CorneliOS::Lib::PDF::Create; use CorneliOS::Lib::PDF::POD2PDF; 1; __END__

      Looks like you are missing another package.

      Regards, Karl

      «The Crux of the Biscuit is the Apostrophe»