Help for this page

Select Code to Download


  1. or download this
    package Rectangle;
    use Moo;
    ...
    $rect->demo;
    print "\n";
    $sq->demo;
    
  2. or download this
    Demo of Rectangle
    height: 2, width: 2
    ...
    height: 4, width: 3
    area: 9
    height: 3, width: 3