in reply to Re: (Ovid) Re(2): Syntax for preventing repeat object initializations
in thread Syntax for preventing repeat object initializations

I was toying around with __PACKAGE__ just yesterday. For interpolation into strings, you can do the scalar ref-deref trick:
my $str = "I'm in package ${\__PACKAGE__}"
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print
  • Comment on Re: Re: (Ovid) Re(2): Syntax for preventing repeat object initializations
  • Download Code