Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

How can I get the packagename at runtime?
  • Comment on Short Question: Packagename at runtime?

Replies are listed 'Best First'.
Re: Short Question: Packagename at runtime?
by Anonymous Monk on Mar 13, 2010 at 19:03 UTC
    What packagename? __PACKAGE__ or caller
      I searched __PACKAGE__. Great!

      Thanks for your fast reply!!