Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^5: "symbol lookup error" message help

by choroba (Cardinal)
on Feb 07, 2023 at 19:45 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2023-03-22 02:04 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (60 votes). Check out past polls.