This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/loc_tools.pl: Don't destroy caller's array
authorKarl Williamson <khw@cpan.org>
Thu, 29 Oct 2020 20:30:46 +0000 (14:30 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 30 Oct 2020 15:27:01 +0000 (09:27 -0600)
commitf29568991a1e703f13874b907c3f51df944a8f4f
tree1df7c76e6e5bfcd2c23220acecf5acba0f8aec4f
parentfb072d007726c7ba114978a00f8f4f687ad7a55a
t/loc_tools.pl: Don't destroy caller's array

This changes to make a copy of the input array, which can then be
modified without affecting the caller.
t/loc_tools.pl