go ahead... be a heretic | |
PerlMonks |
Re^2: Parent Subroutineby doug (Pilgrim) |
on Apr 27, 2010 at 18:42 UTC ( [id://837165]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|