Getting Function Name

G

George Kinley

Bosses,
I have defined a Function which prints Error, it takes couple of Parameters,
What I want is, IF I can some how send the name of the function as one of
the parameter so that when the Error Function prints the message it also
tells me from which function it has been called
is it possible as my Script Executes
 
A

Anno Siegel

George Kinley said:
Bosses,
I have defined a Function which prints Error, it takes couple of Parameters,
What I want is, IF I can some how send the name of the function as one of
the parameter so that when the Error Function prints the message it also
tells me from which function it has been called
is it possible as my Script Executes

perldoc -f caller

Anno
 
G

George Kinley

Thanks,

I wonder Why we ask these stupid question , that we should find ourselves
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,268
Messages
2,571,096
Members
48,773
Latest member
Kaybee

Latest Threads

Top