$complex1->set( $complex1->add( $complex2->get() );
####
$file->position = 0 if $file->eof;
####
$file->set_position( 0 ) if $file->eof();
####
$thingy->set_date_from_string("...");
$thingy->set_date_from_array( localtime );
$thingy->set_date_from_array_ref( [localtime] );
####
package MyClass;
my %instances;
sub new{
my( $class, $attr1, $attr2, attr3 ) = @_;
my $self = bless {}, $class;
return $instances{ $self } = [$attr1, $attr2, $attr3];
}
####
package MyClass;
my( %attr1, %attr2, %attr3 );
sub new{
my( $class, $attr1, $attr2, attr3 ) = @_;
my $self = bless {}, $class;
$attr1{ $self } = $attr1;
$attr2{ $self } = $attr2;
$attr3{ $self } = $attr3;
return $self;
}