in reply to Re^2: how to declare a local *subname=sub{}?
in thread how to declare a local *subname=sub{}?
Almost equivalent, the prior has a runtime effect the latter only compile time.
See perlmod for phases of execution and do some experiments checking the availability of subs.
But I'm repeating myself now. ...
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how to declare a local *subname=sub{}?
by perl-diddler (Chaplain) on Oct 30, 2016 at 23:31 UTC | |
by LanX (Saint) on Oct 30, 2016 at 23:41 UTC |