linda w twaxvptwszvtlinxorg yves orton via rt wrote 102807 via rt linda walsh wrote bug report perl twaxvptwszvtlinxorg generated help perlbug 135 running perl v588 dummyboom ln 22 prog demonstrates three 3 oocall related problems perl autovivifies boom dummy sub laytrap ln 22 interferes oo calls blessed ref later program execution imo isnt bug may confusing behaviour bug works equivalent code would work hash referencing hash guaranteed check references parent returning failure nonlocal definition dont think part oo functionality major part method defined local checks parent classes error message tells user localclassmethod isnt found selfparentmethod user think know parent method wouldnt expect localclass doesnt standard oolookup returning undefined want oocall checks parents could tell call function local function instead selfmethod id use methodself using methodcall syntax selfmethod look parent classes method throwing undefinederror dperl emy xfoo eval sub foo warn qqfoo x foo eval 1 line 1 dperl emy f rfx rtesting print fx testing similarity behavior unexpected given perls global symbol tables really hashes disguise hash table isnt something defined look parent classes methodcall symmetric code marked ln 22 quoted problem essentially creating function stub perl expects fill later havent filled since produces undesirable results simply shouldnt well solution others come one even knew reported bug confusing behaving oolanguage lookup supposed something like dummy push dummyboom defined boomcode ln 22 takes reference sub actually defined yet another great workaround doesnt mean call blessedref shouldnt first parental method lookup throwing fatal error would parental lookup throwing undefined error doesnt optimized work another part really wrong user rely builtin function determine method safe call tried protect calls returns true reference samename undefined local function cant use definedselfmethod replacement selfcanmethod acknowledge str8tforward fix one might like believe area hit often bug report numbers represent many perlexperts knew workaround couldnt say failed narrowing point could get others understand bug felt handle well enough report bug took bit persistence id guess people wouldnt bother find root cause let along get point filing bug wed 06 aug 2008 235135 0700 perl 46987 oocall failures autovivfunctions testing existence