Can't locate module in @INC when executing script over SSHby Leudwinus (Scribe)
|on Jan 27, 2023 at 18:55 UTC ( #11149950=perlquestion: print w/replies, xml )||Need Help??|
Leudwinus has asked for the wisdom of the Perl Monks concerning the following question:
I have the following script (json_test) on a remote FreeBSD virtual machine which runs fine when executed directly on the VM:
However, I get the following error message when I try to run it via SSH from my local machine:
Any suggestions on how I can execute this script remotely via SSH?
On the virtual machine, I get the following information:
JSON is installed on my local Ubuntu machine at /home/leudwinus/perl5/lib/perl5/JSON.pm but I didn't think that would matter.
Thanks in advance!
Back to Seekers of Perl Wisdom