note
jwkrahn
<c>
my ( $rold, $rnew ) = map scalar reverse, $old, $new;
</c>
<p>
Is just a different way of saying:
</p>
<c>
my $rold = reverse $old;
my $rnew = reverse $new;
</c>
<p>
You need to use [doc://scalar] because [doc://reverse] is in list context in the [doc://map] expression.
</p>
968807
968946