josh cbthqngmailcom wed oct 10 2007 115906am 0200 pagaltzis wrote juerd waalboer 20071008 1311 sub refaddr pkg ref_0 return undef blessed_0 bless _0 scalarutilfake else pkg undef _0 0xw local w hex 1 bless _0 pkg defined pkg fwiw established theres better way write function really dislike way spreads reblessing logic around function based flag reason write way sub refaddr pkg ref_0 return undef addr blessed_0 youre treating return result ref blessed boolean true perl classes function incorrect face 0 0 classes defined blessed boolean test works sub refaddr pkg blessed _0 addr defined pkg bless _0 scalarutilfake addr 0_0 bless _0 pkg elsif ref _0 addr 0_0 return addr also simultaneously apologise ever advocating existence two classes blech shouldnt josh tue 05 aug 2008 220905 0700 scalarutilrefaddr