OK I just saw your update. IMHO this is the safest way to realize inner subs without stash side-effects and cyclic memory leaks.{ my $inner; sub outer { $inner=sub { ... $inner->(); ... } } }.
To get back to the OT, I recommend it this way.
Cheers Rolf
In reply to Re^12: sub fuction inside sub functioin?
by LanX
in thread sub fuction inside sub functioin?
by deewanagan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |