Help for this page

Select Code to Download


  1. or download this
    package Tiger;
    use base qw(Mammal Bomb);
    
  2. or download this
      sub Tiger::explode {
          my $self = shift;
          $self->Bomb::explode;
      }
    
  3. or download this
      sub new {
          my ($class, $data) = @_;
          # deliberately simplistic!
    ...
          my $self = shift;
          $self->{_bomb}->explode;
      }
    
  4. or download this
      sub set_timer {
          my $self = shift;
          $self->Bomb::set_timer;
    ...
          my $self = shift;
          $self->Bomb::disarm;
      }