Ticket #1442 (new todo)
Sub PMC should support getattribute
Reported by: | Austin_Hastings | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | 2.0.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.