Keep It Simple, Stupid | |
PerlMonks |
Re: Recursive subroutines and closuresby jwkrahn (Abbot) |
on Sep 21, 2022 at 03:53 UTC ( [id://11147045]=note: print w/replies, xml ) | Need Help?? |
In doing so I accidentally located the recursive subroutine inside the first subroutine (which I didn't know was possible). While one subroutine is technically inside another subroutine, they are both scoped inside the same package, and so both are available anywhere inside that package.
In Section
Seekers of Perl Wisdom
|
|