| 1 | package Acme::Cow::Example; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | |||
| 5 | use Acme::Cow; | ||
| 6 | |||
| 7 | @Acme::Cow::Example::ISA = qw(Acme::Cow); | ||
| 8 | |||
| 9 | my $generic_ascii_art = <<'EOC'; | ||
| 10 | {$balloon} | ||
| 11 | {$tr} | ||
| 12 | {$el}{$er} {$tr} | ||
| 13 | ___________________ | ||
| 14 | / Insert cute ASCII \ | ||
| 15 | \ artwork here. / | ||
| 16 | ------------------- | ||
| 17 | {$U} | ||
| 18 | EOC | ||
| 19 | |||
| 20 | sub new | ||
| 21 | { | ||
| 22 | my $proto = shift; | ||
| 23 | my $class = ref $proto || $proto; | ||
| 24 | my $self = $class->SUPER::new(); | ||
| 25 | $self->over(24); | ||
| 26 | return $self; | ||
| 27 | } | ||
| 28 | |||
| 29 | sub as_string | ||
| 30 | { | ||
| 31 | my $self = shift; | ||
| 32 | return $self->SUPER::as_string($generic_ascii_art); | ||
| 33 | } | ||
| 34 | |||
| 35 | 1; | ||
| 36 | __END__ |