petdance/scratch — Issue #240: Sub PMC should support getattribute
Author: petdance
Created: 2011-11-01 04:25:25+00:00
State: open

The Sub PMC identifies itself, under `class`, as being an instance of the Class class.

Querying the Sub's Class for available attributes (`$class.inspect('attributes')`) returns a hash just chock full of goodness.

Sadly, attempting to request those attribute from the Sub doesn't work.

I believe that Sub should deliver on its promises, and provide the getattribute interface.

Alternatively, if Sub is going to require `inspect` to fetch the data, then the PMC class should not report those fields as attributes.