on-internet
← Community

Getopt::Long GetOptions error in option spec

Stack Overflow ·

I'm getting an error with the following script: my $h=""; my $r=""; my $i=""; my $n=""; my $forks=""; my $global=""; my $v=""; GetOptions ("h" => \$h, #print help "r" => \$r, #keep all temp folder "i" => \$i, #include additional config file "n" => \$n, #do not merge temp files "forks=f" => \$forks, #number of forks you want to use "global=g" => \$global, #special config line option "v" => \$v #verbose option ); The error is: "Error in option spec: global=g". Does anyone know a solution?

Comments

Sign in or sign up to comment and upvote.

No comments yet.