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

Given a directory where perl modules are already installed (ex: /home/user_foo/perl_modules/lib/perl5 from my original message), how do I determine what version of perl was used to install them?

Replies are listed 'Best First'.
Re^5: "symbol lookup error" message help
by Anonymous Monk on Feb 01, 2023 at 05:37 UTC
    Use Module::Metadata (core) to examine the path:
    /usr/bin/perl -MModule::Metadata -le 'print Module::Metadata->find_mod +ule_by_name("Class::Struct")'
    /System/Library/Perl/5.18/Class/Struct.pm