But of course! Otherwise, how does it know that --name needs a value? or that --list takes more than one value? This is the way the getopt libraries work. If you want different, you will likely have to write your own. Simply, it might look like this:
sub magic_opts {
my ($lastopt,%opthash);
for (split)
{
if (/^-+(.*)/)
{
$lastopt=$1;
$opthash{$lastopt}=[];
}
else
{
push @{$opthash{$lastopt}}, $_;
}
}
return \%opthash;
}
Of course this code is buggy, specifically it does not handle the case if there was no previous --option. Good luck!
print pack("A25",pack("V*",map{1919242272+$_}(34481450,-49737472,6228,0,-285028276,6979,-1380265972))) |