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.
In reply to Re^3: How to access a variable inside subroutine?
by Fletch
in thread How to access a variable inside subroutine?
by pritesh_ugrankar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |