Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 524 forks source link

Don't loop forever in uniqnum.t #22111

Closed craigberry closed 1 month ago

craigberry commented 1 month ago

If infinities are not working, make sure we fail after a few tries rather than looping infinitely to find infinity. 10 iterations is arbitrary -- 1 is likely enough in most cases.