Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Script works in XP but not Ubuntu?

by didess (Sexton)
on Apr 01, 2009 at 22:22 UTC ( [id://754811]=note: print w/replies, xml ) Need Help??


in reply to Script works in XP but not Ubuntu?

Hi,
indeed, current directory (".") is not checked by Perl to find Util.pm.
(you see that clearly from the error message)
One solution is to copy Util.pm into one of the directories listed in the answer.
I think better to use /usr/local/lib/site_perl, because of its "local" nature:
It should not be corrupted while upgrading the version or Perl in the future. (That's only an advice :-).
You should check also the way Util.pm is spelled (UTIL.pm, ...) because Ubuntu's file systems are case-sensitive (not XP)
Didess

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://754811]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2024-04-23 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found