Help for this page

Select Code to Download


  1. or download this
    package Robo;
    use strict;
    ...
    my $robo = Robo->new();
    $robo->{Feet}->walk();
    $robo->{Arm}->pick( "Apple" );
    
  2. or download this
    sub walk {
      my $self = shift;
    ...
      my ($self, $thing) = @_;
      return $self->{Arm}->pick( $thing );
    }