in reply to Re^2: Perl templating/macro creating using 'BEGIN'...
in thread Perl templating/macro creating using 'BEGIN'...
The ->import subroutine that is called from a use statement can find out the name of the calling package by using caller.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl templating/macro creating using 'BEGIN'...
by perl-diddler (Chaplain) on Sep 27, 2010 at 21:24 UTC |