Help for this page
my $attr = $foo->attr; print "Attribute is $attr\n"; ... print "Attribute is ". $foo->attr ."\n"; print "Attribute is @{[$foo->attr]}\n";
use strict; use warnings; ... The Foo object's attr attribute is: foo Calling Foo's Repeater(3) method yeilds: foo foo foo