|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re^3: way of declare an integer variable instead use /^\d+$/by BillKSmith (Monsignor) |
| on May 26, 2024 at 19:49 UTC ( [id://11159678]=note: print w/replies, xml ) | Need Help?? |
|
It probably does not matter if the O/0 error is in the original .pdf file or if the OCR misreads it. The tr operator (refer tr/SEARCHLIST/REPLACEMENTLIST/cdsr) directly corrects the problem. Your test for a reasonable value is probably a good idea, but it really has nothing to do with the O/0 problem.
Bill
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||