Re: Perl version error

[email protected] ("Ken Peng") Wed, 31 May 2023 08:02:01 +0000
Newsgroups perl.beginners
Message-ID <[email protected]>
> Perl v5.35.7 required--this is only v5.26.3, stopped at /opt/ohpc/pub/compiler/perl/5.36.0/lib/5.36.0/File/Copy.pm line 10.

So, are you using the correct path for the latest version of perl?
It seems you have the right perl and File::Copy installed, but your program is using the old version.

regards.


> 
> [root@software ~]# perl -MFile::Copy -e 'print $File::Copy::VERSION'
> 2.39
> 
> [root@software ~]# perl -v
> 
> This is perl 5, version 36, subversion 1 (v5.36.1) built for x86_64-linux
> 
> Copyright 1987-2023, Larry Wall
> 
> Perl may be copied only under the terms of either the Artistic License or the
> GNU General Public License, which may be found in the Perl 5 source kit.
> 
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using "man perl" or "perldoc perl". If you have access to the
> Internet, point your browser at https://www.perl.org/, the Perl Home Page.
>