in reply to Re^3: Problem while using Net::SSH::Perl module
in thread Problem while using Net::SSH::Perl module

That's correct, as (I think) is your observation that the individual commands would be run in separate shells by Net::SSH::Perl, so the sourced environment, etc. would not persist...

  • Comment on Re^4: Problem while using Net::SSH::Perl module