crazysniffable has asked for the wisdom of the Perl Monks concerning the following question:
Example:
...Yields:sub foo { print "Hello\n"; sub bar { print "world!\n"; } bar(); } foo(); bar();
Try it yourself!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(ichimunki) Re: Sub Definitions Within Subs: Best Way to Exploit
by ichimunki (Priest) on Oct 11, 2001 at 01:58 UTC | |
|
(Ovid) Re: Sub Definitions Within Subs: Best Way to Exploit
by Ovid (Cardinal) on Oct 11, 2001 at 02:52 UTC | |
by perrin (Chancellor) on Oct 11, 2001 at 05:20 UTC | |
by htoug (Deacon) on Oct 11, 2001 at 09:15 UTC | |
by perrin (Chancellor) on Oct 11, 2001 at 18:09 UTC | |
by htoug (Deacon) on Oct 12, 2001 at 12:33 UTC | |
|
Re: Sub Definitions Within Subs: Best Way to Exploit
by pjf (Curate) on Oct 11, 2001 at 03:56 UTC | |
|
Re: Sub Definitions Within Subs: Best Way to Exploit
by Tetramin (Sexton) on Oct 11, 2001 at 13:44 UTC | |
|
Re: Sub Definitions Within Subs: Best Way to Exploit
by crazysniffable (Acolyte) on Oct 11, 2001 at 01:13 UTC |