From 2c5fee9ece1b04ca44cfd559bbafe52b73830ca5 Mon Sep 17 00:00:00 2001 From: Timofey Potapov Date: Thu, 8 Aug 2024 01:15:41 +0200 Subject: [PATCH] clone should be working now. --- .github/workflows/build-and-test.yml | 2 +- lib/e.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index ed756ee..31d9958 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -18,7 +18,7 @@ jobs: name: Build distribution runs-on: ubuntu-20.04 container: - image: perldocker/perl-tester:5.30 + image: perldocker/perl-tester:5.38 steps: - name: Checkout docker/package diff --git a/lib/e.pm b/lib/e.pm index 9bc2d13..c745f79 100644 --- a/lib/e.pm +++ b/lib/e.pm @@ -846,7 +846,7 @@ sub import { if ( !$imported{$caller}{"Storable"}++ ) { require Storable; } - Storable::dclone( @_ ); + Storable::dclone( $_[0] ); }, # UTF-8 conversions. @@ -1077,7 +1077,7 @@ sub import { $pm->run_on_finish( sub { - push @res, @{$_[-1]}; + push @res, @{ $_[-1] }; } ); for my $cb ( @_ ) {