Help for this page

Select Code to Download


  1. or download this
    for my $gas_cost (@gasCosts) {
      if ($gas_cost < 1) {
    ...
    
      ...
    }
    
  2. or download this
    eval {
      die "Bad gas - $gas_cost\n" if $gas_cost < 1;
    ...
      
      print "Error handling gas: $err"
    };