Skip to content

Instantly share code, notes, and snippets.

@tomcha
Last active December 21, 2015 01:48
Show Gist options
  • Save tomcha/6229834 to your computer and use it in GitHub Desktop.
Save tomcha/6229834 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl
use strict;
use warnings;
use utf8;
use TestPackages::Neko;
my $neko1 = Neko->new();
my $neko2 = Neko->new();
$neko1->name('rui');
$neko1->color('white');
$neko2->name('chousuke');
$neko2->color('gray');
$neko1->says();
$neko2->says();
$neko1->loves();
$neko2->loves();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment