To access a simple property from a view, call the property's accessor on the view object.

The accessor has the same name as the property itself, as follows.

$view_name->property_name

As shown in Sample Script (Commented Version), you can access the name property of entity_view by calling its name method, as follows.

my $entity_name = $entity_view->name;