Just having a little fun. Work is fun, isn't it? :)
my $sock = Starbucks::Employee->new;
my $coru = Starbucks::Customer->new;
$coru->order('venti mocha coconut frap, blended coffee');
$sock->say('We don\'t serve that anymore.');
$coru->swear('under breath');
$coru->smile('politely');
$coru->order('grande hot chocolate');
my $cup = Starbucks::Beverage->new;
$cup->fill('hot chocolate');
$sock->serve($cup, $coru);
$coru->accept($cup);
$coru->smile;
$coru->give_tip(
convert_funds('0.02', 'CDN', 'USD')
);
$coru->leave;
$sock->swear('out loud');
|