in reply to Re^2: How to access a variable inside subroutine?
in thread How to access a variable inside subroutine?
Side note: be careful doing this with a my variable because some weird things can happen with nested subs referencing lexicals from the enclosing scope. Look for Variable "%s" will not stay shared in perldiag.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to access a variable inside subroutine?
by LanX (Saint) on Sep 06, 2020 at 05:55 UTC | |
by tobyink (Canon) on Sep 06, 2020 at 09:04 UTC | |
by LanX (Saint) on Sep 06, 2020 at 09:42 UTC | |
by tobyink (Canon) on Sep 06, 2020 at 12:55 UTC | |
by pryrt (Abbot) on Sep 06, 2020 at 14:53 UTC |