What's you version of Getopt::Long?$ cat 641306.pl use strict; use warnings; use Getopt::Long; my @chk; GetOptions('nodelist=i{4}' => \@chk); print "@chk \n"; $ perl 641306.pl --nodelist 1 2 3 4 1 2 3 4
In reply to Re: Error using Getopt::Long
by andreas1234567
in thread Error using Getopt::Long
by abhinav
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |