diff options
author | Karl Williamson <khw@cpan.org> | 2015-01-27 11:41:55 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-02-07 10:02:02 -0700 |
commit | 21732d5c67323d747a91102253591325b3569ec3 (patch) | |
tree | 8c72fd116c9cdca63ea4fb9cd4dc224c77d47949 /t/op/upgrade.t | |
parent | 44129e4698cf2866be96e739c41415dda2b74567 (diff) | |
download | perl-21732d5c67323d747a91102253591325b3569ec3.tar.gz |
loc_tools.pl: do a 'require' before module's function call
This was failing to do the require before testing if the function in the
module existed, so if the require hadn't been done by someone else, it
would show as not existing, and so would fail unnecessarily.
The other fix is to not assume the require has been done, so in the
right circumstances, this could have an undefined function error. But
all current uses had already done the require, so this bug has yet to
show up.
Diffstat (limited to 't/op/upgrade.t')
0 files changed, 0 insertions, 0 deletions