Help for this page

Select Code to Download


  1. or download this
    package src::bo::behaviour::FlyBehaviour;
    
    ...
    }
    
    1;
    
  2. or download this
    package src::bo::behaviour::QuackBehaviour;
    
    ...
    }
    
    1;
    
  3. or download this
    package src::bo::behaviour::fly::CanFly;
    
    ...
    }
    
    1;
    
  4. or download this
    package src::bo::behaviour::fly::CannotFly;
    
    ...
    }
    
    1;
    
  5. or download this
    package src::bo::behaviour::quack::CanQuack;
    
    ...
    }
    
    1;
    
  6. or download this
    package src::bo::behaviour::quack::CannotQuack;
    
    ...
    }
    
    1;
    
  7. or download this
    package src::bo::behaviour::quack::CanSqeek;
    
    ...
    }
    
    1;
    
  8. or download this
    package src::bo::Duck;
    
    ...
    }
    
    1;
    
  9. or download this
    package src::bo::Rubber;
    
    ...
    }
    
    1;
    
  10. or download this
    package src::bo::Whistle;
    
    ...
    }
    
    1;
    
  11. or download this
    #!/usr/bin/perl
    
    ...
    
    $rubber->setColor("red");
    is ( $rubber->getColor(), "red", "rubber is a red color" );
    
  12. or download this
    bash-3.00$ prove -v -r
    t/bo/Duck....ok 1 - A duck object
    ...
    ok
    All tests successful.
    Files=1, Tests=13,  1 wallclock secs ( 0.28 cusr +  0.35 csys =  0.63 
    +CPU)