@@ -, +, @@ ControlStructures::ProhibitMutatingListFunctions --- C4/Record.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Record.pm +++ a/C4/Record.pm @@ -845,7 +845,7 @@ sub marc2cites { if($author =~ /([^,]+),?(.*)/) { my %a; ($a{'surname'} = $1) =~ s/$re_clean//g; - $a{'forenames'} = [map {s/$re_clean//g;$_} split ' ', $2]; + $a{'forenames'} = [map {my $t=$_;$t=~s/$re_clean//g;$t} split ' ', $2]; push(@authors, \%a); } } --