The goal is to see the encapsulated data, like I've been doing for the last 26 years.
use 5.040;
use strictures;
use experimental 'class';
class Foo {
field @member = qw(e r t);
}
my $foo = Foo->new;
# use Data::Dumper qw(Dumper);
# say Dumper $foo;
# cannot handle ref type 16
# use DDS; DumpLex $foo;
# _dump_rv() can't handle 'OBJECT' objects yet
# use Data::Dx; Dx $foo;
# Can't handle OBJECT data
# use DDP; p $foo;
# Foo {
# public methods (1): new
# private methods (0)
# internals: (opaque object)
# }
# ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑