spx2 has asked for the wisdom of the Perl Monks concerning the following question:
If one defines a sub in a closure like this
How can I use it outside the closure ?(or mustn't I?){ my $sub_in_closure = sub jojo { ... } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: calling from outside the closure a sub defined in a closure
by Anno (Deacon) on Sep 19, 2007 at 09:48 UTC | |
|
Re: calling from outside the closure a sub defined in a closure
by derby (Abbot) on Sep 19, 2007 at 12:17 UTC | |
|
Re: calling from outside the closure a sub defined in a closure
by moritz (Cardinal) on Sep 19, 2007 at 09:30 UTC | |
|
Re: calling from outside the closure a sub defined in a closure
by siva kumar (Pilgrim) on Sep 19, 2007 at 09:30 UTC |