Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    say "the sum of 9 and $b is ", &sum_and_diff(9, $b, \$diff);
    say "and the difference is ", $diff;  # this is line 34
    
  2. or download this
    The address of $varible, which contains the value 22,
    is SCALAR(0x55d283691438)
    ...
    and the difference is 3
    the sum of 9 and 2 is 11
    and the difference is 7