# New Ticket Created by Colin Kuskie # Please include the string: [perl #44205] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=44205 >
When building parrot from scratch, this command gets run: /usr/bin/perl tools/build/pmc2c.pl --dump src/pmc/default.pmc Can't call method "methods" on unblessed reference at /data/parrot/tools/build/../../lib/Parrot/Pmc2c/PMC/default.pm line 25. make: *** [src/pmc/default.dump] Error 255 This happens because of this line from lib/Parrot/Pmc2c/Parser.pm (142,143): $pmc->vtable($pmc2cMain->read_dump("vtable.pmc")); $pmc->pre_method_gen(); read_dump always returns a hashref, not a blessed object. inside of $pmc->pre_method_gen, it tries access a methods object from the vtables: foreach my $method ( @{ $self->vtable->methods } ) { It can be easily fixed by peeking down inside the vtable object, but it would be cleaner to have it as a method and I don't know what the original intent was. Colin