Using your Moose class

my $foo = Class->new( attribute => 'initial value' );
say "Attribute is ", $foo->attribute;