print $obj->name; # gibt Inhalt Attribute name aus