The Perl5 object system
- Ad-hoc
my $object = {};
bless $object;
- No defined "attributes"
$object->{attribute} = 'Hello';
- Structure of class is only known by programmer (or maybe convention)
my $object = {};
bless $object;
$object->{attribute} = 'Hello';