Perl Weekly Challenge 126: Count Numbers and Minesweeper Game
These are some answers to the Week 126 of the Perl Weekly Challenge organized by Mohammad S. Anwar.
Spoiler Alert: This weekly challenge deadline is due in a few days from now (on August 22, 2021 at 24:00). This blog post offers some solutions to this challenge, please don’t read on if you intend to complete the challenge on your own.
Task 1: Count Numbers
You are given a positive integer $N.
Write a script to print count of numbers from 1 to $N that don’t contain digit 1.
Example




