elizabeth mattijsen ifkdijkmatnl 123 pm 0200 10807 demerphq wrote 10807 juerd waalboer wrote seen perl monks wonder refaddr code nonxs scalarutil code stringifies reference pulls number regex far tell terms complexity timeefficiency thats clearly inferior forcing reference numeric jeffrey kegler httpperlmonksorgnode_id643288 snippet question 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 indeed seem bit inefficient especially double reblessing going thats probably work around issues caused stringification anyone know wasnt done much simpler way sub refaddr ref_0 0_0 undef overloaded numification cant written way overload nummification make return 42 everytime however given rebless logic dont see regex part required sub refaddr pkg ref_0 return undef blessed_0 bless _0 scalarutilfake else pkg undef 0_0 bless _0 pkg defined pkg alternatively entire rebless logic could chucked replaced call overloadstrval think around long overload hasthen regex part could stay could sworn numeric equivelent overloadstrval cant find documented suggests exist hasnt always code doesnt use guess however objective could avoid using overload alternatively could speed issue overloadstrval pretty slow far recall core code looks crufty usually way reason easy efficient way find whether numification overloaded object wouldnt go whole rigamerole reblessing simply return 0 _0 easy efficient way check liz wed 06 aug 2008 023043 0200 scalarutilrefaddr