Help for this page

Select Code to Download


  1. or download this
    use Getopt::Long;
    
    ...
    if (! $result) {
        die "Invalid option specifications";
    }
    
  2. or download this
    $ ./getopt.pl -t
    Option test requires an argument
    Invalid option specifications at ./getopt.pl line 9.
    $