in reply to How to find out the path of which package called a function?
Have you looked at caller? It gives you the line number, filename and package of your callers.
One day, I hope Perl will accept negative arguments to the caller function as well and still give the correct results, always.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to find out the path of which package called a function?
by rapide (Beadle) on Sep 03, 2008 at 08:29 UTC | |
by Corion (Patriarch) on Sep 03, 2008 at 08:33 UTC |