in reply to Can I use the File::Copy::Recursive library in Linux Systems.

What error does it give? We can't help you without knowing the error message.

Maybe the module is not installed. If that is the case, you can install the module by running:

cpan File::Copy::Recursive

If that fails because you don't have the appropriate permissions to install modules, consult with your system administrator on how to install new modules for your system.

Replies are listed 'Best First'.
Re^2: Can I use the File::Copy::Recursive library in Linux Systems.
by Anonymous Monk on Mar 24, 2022 at 11:57 UTC

    I am getting Error like this

    Can't locate File/Copy/Recursive.pm in @INC (@INC contains: /opt/SMAW/SMAWrtppl/5.8.9-03/lib/perl5/5.8.9/x86_64-linux /opt/SMAW/SMAWrtppl/5.8.9-03/lib/perl5/5.8.9 /opt/SMAW/SMAWrtppl/5.8.9-03/lib/perl5/site_perl/5.8.9/x86_64-linux /opt/SMAW/SMAWrtppl/5.8.9-03/lib/perl5/site_perl/5.8.9 .) at -e line 1. BEGIN failed--compilation aborted at -e line 1.

      This error means that the module is not installed.

      Also, this looks like you are using a very old version of Perl - Perl 5.8.9 was released at the end of 2008, that is 14 years ago. While much Perl code might work with Perl 5.8.9, I would consult with the system administrator whether moving to a more recent and supported version of Perl is an option.