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.
In reply to Re: How to find out the path of which package called a function?
by Corion
in thread How to find out the path of which package called a function?
by rapide
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |