in reply to Re^2: How to access a variable inside subroutine?
in thread How to access a variable inside subroutine?

Very nice, thank you. I was going old school but now this is a lot cleaner and more concise.
  • Comment on Re^3: How to access a variable inside subroutine?

Replies are listed 'Best First'.
Re^4: How to access a variable inside subroutine?
by perlfan (Parson) on Sep 05, 2020 at 21:20 UTC
    Read the link pointed out by LanX. Best way to learn it is to play around with it.

    Oops replied to the wrong thing. pritesh_ugrankar this message applies to your comment about it now working but you not understanding.