I've tried the sample script:
#!/usr/local/bin/perl
use Getopt::Long;
my $option_test;
my $result = GetOptions ( 'test=s' => \$option_test );
if (! $result) {
die "Invalid option specifications";
}
on two different platforms (OS X and Ubuntu, both perl 5.10) and in both cases Getopt is returning 1 (success) _even if_ the supposedly required parameter isn't provided. has this behavior in Getopt changed?