perl module include error

M

Mani

Hi,

while trying to run a perl script, in windows machine,
i get the following error,

cant locate /<location>.pm in @INC (@INC contains c:/perl/lib
C:/Perl/site/lib
begin failed --compilation aborted

please let me know to know why compilation aborts and how it can be
solved....

-Mani
 
J

John Bokma

Mani said:
Hi,

while trying to run a perl script, in windows machine,
i get the following error,

cant locate /<location>.pm in @INC (@INC contains c:/perl/lib
C:/Perl/site/lib
begin failed --compilation aborted

please let me know to know why compilation aborts and how it can be
solved....

What is <location>.pm?

*Always* copy the *exact* message you get.
 
P

Paul Lalli

Mani said:
Hi,

while trying to run a perl script, in windows machine,
i get the following error,

cant locate /<location>.pm in @INC (@INC contains c:/perl/lib
C:/Perl/site/lib
begin failed --compilation aborted

please let me know to know why compilation aborts

Because your code (or some code that your code uses) includes the line:
use <location>;
and how it can be solved....

By either fixing the typo you made in "<location>", or by successfully
downloading and installing the <location> module, or by removing the
"use <location>;" line from your code if it's not necessary.

Paul Lalli
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top