# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #78200]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=78200 >


>From the backlog:

<hudnix> well I just spent a miserable two hours figuring out that the
error message "Type objects are abstract and have no attributes, but
you tried to access @!foo" in fact had nothing to do with the
attribute @!foo or anything else in my class, but was really
complaining that I had declared my object with "my $obj;" instead of
"my $obj .= new"

Would it be possible to have the error message be something like
"Tried to use type object $obj as an instance object"? Especially
having the name of the variable with the object being improperly
accessed seems like it would be a big help in a situation such as the
above.

Reply via email to