in reply to Modifying a parameter to a recursive function

$_ and @_ are completely different variables and $_ has nothing to do with the parameters of a subroutine

"The same article said that as soon as you set some other variable to $v = $_ it will be impossible to modify the value of $_ afterwards"

This is wrong. Maybe you misread or misinterpreted it.

  • Comment on Re: Modifying a parameter to a recursive function