in reply to Default variable within loops

Although variables such as $_ are available, they are cryptic, and visually ambiguous when there are nested loops.   Avoid the practice.   Be clear.   Don’t write code that will break merely because you changed it.