in reply to Re: sub fuction inside sub functioin?
in thread sub fuction inside sub functioin?
This trick with local is nice! 8 )
But without trying it, I'll expect that you'll vivify global entries in the symbol table. (which are of course empty after the local scope ended)
I'd rather prefer this construction
my $inner1_cr=sub {...} ; $inner_cr->($param);
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: sub fuction inside sub functioin?
by ikegami (Patriarch) on Dec 07, 2008 at 20:39 UTC | |
by LanX (Saint) on Dec 07, 2008 at 21:18 UTC | |
by ikegami (Patriarch) on Dec 07, 2008 at 23:20 UTC | |
by LanX (Saint) on Dec 08, 2008 at 02:05 UTC | |
by ikegami (Patriarch) on Dec 08, 2008 at 02:52 UTC | |
| |
by gone2015 (Deacon) on Dec 08, 2008 at 02:08 UTC |