Help for this page

Select Code to Download


  1. or download this
    #!/opt/perl524
    
    ...
    |;
    } ## end sub my_form
    
  2. or download this
    #!/opt/perl524
    
    ...
    ok( add_two_numbers( 3, 17 ) == 20, "3 plus 17 produces 20" );
    
    done_testing();
    
  3. or download this
    ok 1 - require 'C:\Users\davel\Documents\scripts\add_two_numbers_modif
    +ied_as_main.cgi';
    ok 2 - 3 plus 17 produces 20
    1..2
    
  4. or download this
    #!/opt/perl524
    
    ...
    </form>
    |;
    } ## end sub my_form
    
  5. or download this
    not ok 1 - require 'C:\Users\davel\Documents\scripts\add_two_numbers_m
    +odified_as_main.cgi';
    #   Failed test 'require 'C:\Users\davel\Documents\scripts\add_two_num
    +bers_modified_as_main.cgi';'
    ...
    #     Error:  C:\Users\davel\Documents\scripts\add_two_numbers_modifie
    +d_as_main.cgi did not return a true value at (eval 8) line 2.
    1..1
    # Looks like you failed 1 test of 1.