utils/scancpan: bump required perl version

As the comment in package/perl/perl.mk instructs, bumping the perl
version must be propagated to utils/scancpan as well.

However, commit 7c1ef8129f (package/perl: bump to version 5.34.0)
forgot to do so.

Fixes: 7c1ef8129f

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 4cbef389f3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022.11.x
Yann E. MORIN 2022-12-20 17:20:03 +01:00 committed by Peter Korsgaard
parent 944394a849
commit 9039988057
1 changed files with 3 additions and 3 deletions

View File

@ -488,9 +488,9 @@ use Digest::SHA qw(sha256_hex);
use Text::Wrap;
$Text::Wrap::columns = 62;
# Below, 5.032 should be aligned with the version of perl actually
# Below, 5.034 should be aligned with the version of perl actually
# bundled in Buildroot:
die <<"MSG" if $] < 5.032;
die <<"MSG" if $] < 5.034;
This script needs a host perl with the same major version as Buildroot target perl.
Your current host perl is:
@ -498,7 +498,7 @@ Your current host perl is:
version $]
You may install a local one by running:
perlbrew install perl-5.32.0
perlbrew install perl-5.34.0
MSG
my ($help, $man, $quiet, $force, $recommend, $test, $host);