in reply to Re: In Perl, how to check for the remote folder existence using sftp command? Cant use Net:SFTP
in thread In Perl, how to check for the remote folder existence using sftp command? Cant use Net:SFTP

When I tried to use these modules IPC::Run3 and Capture::Tiny I am getting error like Can't locate IPC/Run3.pm and Can't locate Capture/Tiny.pm respectively. Does that mean, the modules are need to be installed? Please help.
  • Comment on Re^2: In Perl, how to check for the remote folder existence using sftp command? Cant use Net:SFTP

Replies are listed 'Best First'.
Re^3: In Perl, how to check for the remote folder existence using sftp command? Cant use Net:SFTP
by hippo (Archbishop) on May 25, 2016 at 15:21 UTC
      So, is it impossible without installing any of these modules? or Is there a way to handle this situation like in shell script? Thanks...

        Hi Yedu,

        It is possible without additional modules, please see the third paragraph of my reply above. But I'd also recommend you take the time to read Yes, even you can use CPAN - you can also install modules locally without affecting the system Perl.

        Hope this helps,
        -- Hauke D

Re^3: In Perl, how to check for the remote folder existence using sftp command? Cant use Net:SFTP
by stevieb (Canon) on May 25, 2016 at 15:21 UTC

    Yes, it means they need to be installed.