Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "my @ranges = ('15', '28-31', '3-4', '40', '17-19');
    ...
     print qq{total between $total_min and $total_max};
    "
    total between 103 and 109
    
  2. or download this
    perl -wMstrict -le
    "my @ranges = qw(15 28-31 3-4 40 17-19  99- -99 -99- x x-x);
    ...
     print qq{total between $total_min and $total_max};
    "
    total between 103 and 109