Help for this page

Select Code to Download


  1. or download this
    # Check if there is an option argument available.
    if ( $gnu_compat ) {
    ...
        return (1, $opt, $ctl, $type eq 's' ? '' : 0)
            if $optargtype == 1;  # --foo=  -> return nothing
    }
    
  2. or download this
    elsif ( defined $rest || @$argv > 0 ) {
        $optargtype = $gnu_compat_strict ? 1 : 3;
    }