in reply to Re^2: How do I report an error back to the user of my object?
in thread How do I report an error back to the user of my object?

I might just point out that this code stops the importation of carp and croak.

Indeed, but I was using neither of those so saw no need to import them.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
  • Comment on Re^3: How do I report an error back to the user of my object?