For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > November 2006 > Re: Unable to compile Perl code









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Unable to compile Perl code
David - IT Department Kumar

2006-11-03, 6:57 pm

Hi

I am writing this email hoping that you can advise to run my perl program
successfully.

when I include any library, such as, "locale", or "warnings" or anyother, I
am facing the following
error.

Could you please guide me, how to avoid this problem at all.

Thank you.

Regards

Kumar
________________________________________
____________________________________
_____________

Can't locate locale.pm in @INC (@INC contains:
/opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502
/opt/perl5/lib/site_perl/5.005/PA-RISC1.1 /opt/perl5/lib/site_perl/5.005 .)
at welcome.pl line 3.
BEGIN failed--compilation aborted at welcome.pl line 3.

#!/opt/perl/bin -w

use locale;
use warnings;

$where = 'Welcome to perl program';
print "hello $where\n";

________________________________________
____________________________________
__________________


Northampton General Hospital NHS Trust
Cliftonville, Northampton NN1 5BD

This e-mail may contain confidential information and/or copyright material
and is intended for the use of the addressee only. Any unauthorised use
may be unlawful. The contents of this e-mail may be subject to public
disclosure under the NHS Code of Openness or the Freedom of Information Act
2000. Unless legally exempt, the confidentiality of the message and your
reply cannot be guaranteed. If you receive this e-mail by mistake, please
advise the sender immediately.
Thank you.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com