<nobu.nokada / softhome.net> schrieb im Newsbeitrag 
news:200411121250.iACCohlO024122 / sharui.nakada.niregi.kanuma.tochigi.jp...
> Hi,
>
> At Fri, 12 Nov 2004 20:28:27 +0900,
> Robert Klemme wrote in [ruby-talk:120033]:
>> > Then loop subcommand parser until ARGV becomes empty using
>> > #order! instead of #parse!.
>>
>> I got lost somewhere in the diff below. :-)  What eaxtly is the 
>> difference
>> between "order!" and "parse!"?
>
> OptionParser has two kinds of behaviors; "in order" and
> "permutation" mode.  The former (#order! method) stops as soon
> as a non-option argument is encountered and is same as
> getopt_long(3) when the environment variable POSIXLY_CORRECT is
> set, and the latter (#permute! method) processes all option
> arguments at first and leaves non-option arguments.  #parse!
> method switches the two behavior by the environment variable.

Thanks, Nobu!  Now I see much clearer.

    robert