Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Say.
This is untested but it's identicaly to what I'm using. Why do the two inside routines get called and actually do ANYTHING when I don't call them EVER?sub do_this { sub new_sub { print "test"; } sub new_sub2 { print "test2"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sub routines not playing fair
by thospel (Hermit) on Oct 24, 2004 at 00:23 UTC | |
by pg (Canon) on Oct 24, 2004 at 01:04 UTC | |
|
Re: Sub routines not playing fair
by TheEnigma (Pilgrim) on Oct 24, 2004 at 00:17 UTC | |
|
Re: Sub routines not playing fair
by Joost (Canon) on Oct 24, 2004 at 00:22 UTC | |
by steves (Curate) on Oct 24, 2004 at 01:10 UTC |