Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: calling function with function

by robartes (Priest)
on May 12, 2005 at 10:11 UTC ( #456327=note: print w/replies, xml ) Need Help??


in reply to calling function with function

<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
Robartes-

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://456327]
help
Chatterbox?
Eily used google. The lazy internet equivalent of grep
[karlgoethebier]: He!
[Eily]: Discipulus pretty much all oneliners are killing. Do you imagine how many people could be working if you asked them to do the same thing in C each time ? :P
Eily is Listening to "Leave out all the rest" by Linkin Park
[karlgoethebier]: that's why trade unions like C ;-)

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2017-07-21 09:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (320 votes). Check out past polls.