![]() |
|
There's more than one way to do things | |
PerlMonks |
help with scoping (code), part 1by deprecated (Priest) |
on Nov 04, 2001 at 01:54 UTC ( #123089=perlquestion: print w/replies, xml ) | Need Help?? |
deprecated has asked for the wisdom of the Perl Monks concerning the following question:
i'm trying to compartmentalize an api that i am writing.
im doing something like this:
the problem is, if sub_two is a help sub, i need it to be able to call all of the subs in @children, including itself. i suspect making my @children into our @children, i would solve my problem, but that strikes me as rather inelegant. how can i make my children able to see eachother?
thanks,
--
Back to
Seekers of Perl Wisdom
|
|