Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Recursive subroutines and closures

by jwkrahn (Abbot)
on Sep 21, 2022 at 03:53 UTC ( [id://11147045]=note: print w/replies, xml ) Need Help??


in reply to Recursive subroutines and closures

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11147045]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (8)
As of 2024-03-28 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found