Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Parent Subroutine

by doug (Pilgrim)
on Apr 27, 2010 at 18:42 UTC ( [id://837165]=note: print w/replies, xml ) Need Help??


in reply to Re: Parent Subroutine
in thread Parent Subroutine

If you only want one layer back, use carp(). And if you want the whole call stack, use cluck(). But if you want anything in between, you need to build it yourself with caller().

- doug

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://837165]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found