Help for this page

Select Code to Download


  1. or download this
    if ($command eq 'add' || $command eq 'a') {
       if (GetOptions(\%hash, 'name=s', 'value=i')) {
    ...
    } elsif ($command eq 'edit' || $command eq 'e') {
       ...
    }
    
  2. or download this
    # not tested
    
    ...
       GetOptions( ... );
       # your code here
    }