No such thing as a small change | |
PerlMonks |
Re: calling function with functionby robartes (Priest) |
on May 12, 2005 at 10:11 UTC ( [id://456327]=note: print w/replies, xml ) | Need Help?? |
<naivety>
Are you sure you are asking for the correct thing? Your code already uses 'functions within functions': logMessage is called from within both Active_err and set_all_faults. Just put the bit of code you want in a separate sub and call it just like the logMessage calls. </naivety>Update: corrected spelling of that difficult word. Sarcasm is much better without spelling errors. CU
In Section
Seekers of Perl Wisdom
|
|