(Careful about filescoped private variables)
Since caller will also tell you the filename, your debug routine can be more explicit then.
Btw: Using the trace option of the debugger might be another option.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re^3: Splitting program into modules
by LanX
in thread Splitting program into modules
by lis128
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |