Help for this page

Select Code to Download


  1. or download this
    # Command-line
    (my $x = shift) or die $syntax;
    ...
    # Validity checking
    ($x =~ /^-?\d+$/) or die "$iam:  value $x not an integer\n";
    ($y =~ /^-?\d+$/) or die "$iam:  value $y not an integer\n";
    
  2. or download this
    my $start = shift @ARGV;
    my $end = shift @ARGV;