- or download this
If u have horse instead of A1
lion instead of A2
mule instead of A3
tiger instead of A4
- or download this
__DATA__
horse;tiger
lion;mule
lion;tiger
horse;mule
- or download this
use strict;
use warnings;
...
print "\n";
}
- or download this
printing as
1 2 3 4
...
3 0 0 0 0
4 0 0 0 0
- or download this
horse lion mule tiger
horse 0 0 1 1
lion 0 0 1 1
mule 1 1 0 0
tiger 1 1 0 0