Help for this page

Select Code to Download


  1. or download this
    calculate.pl dialog
    
    ...
    OK
    explode
    Invalid statement
    
  2. or download this
    $ ./calculate.pl
    > EQUALS
    ...
    
    Invalid statement
    >
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
      my($cmd,$num,$total) = @_;
      print "COMMAND: $cmd, VALUE: $num, TOTAL: $total \n";
    }