http://www.perlmonks.org?node_id=544468


in reply to Patching a Package (Scalar::Util)

Actually I dont get that patch exactly. If you are going to rebless into a non overloaded class name then refaddr becomes simply 0+$ref. I'm going to supply a patch to p5p. Anyway, I would take all of that out of the import method.

---
$world=~s/war/peace/g