This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/loc_tools.pl: Tidy up
authorKarl Williamson <khw@cpan.org>
Sun, 31 Dec 2017 19:25:25 +0000 (12:25 -0700)
committerKarl Williamson <khw@cpan.org>
Mon, 1 Jan 2018 19:37:50 +0000 (12:37 -0700)
commit86e851393c350edf822b0cc4ed3a12312b1276e0
tree7eada005b384df395280bfb7313d387fed2c872e
parent9e5400ffe7b3d2414c1b3cc14ceb77e475b77f7c
t/loc_tools.pl: Tidy up

Instead of using $@, use the variable set to $@ just after the eval.
This is cleaner, and avoids an issue should new code be inserted between
them that affects $@
t/loc_tools.pl