Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^5: "symbol lookup error" message help

by choroba (Cardinal)
on Feb 07, 2023 at 19:45 UTC ( [id://11150219]=note: print w/replies, xml ) Need Help??


in reply to Re^4: "symbol lookup error" message help
in thread "symbol lookup error" message help

If there's only one perl installed on each machine, it makes no sense to include its version into the path. Install the modules into the same path on both the machines and you can use the same script.

If you insist on having the Perl version included in the path and not having Perl configured to search for modules there, you can use something like

use lib '/home/foo/perl_modules/' . substr($^V, 1) . '/lib/perl5';

But why?

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-29 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found