http://www.perlmonks.org?node_id=522362


in reply to Need an $a and $b as in perl's sort routine

If you only have one implicit target variable, use the variable that's already been set aside for implicit targets -- $_.

It's easy to local $_ before calling the sub, and with $_ everyone will know what you're doing.