<p>I have an existing Perl program that uses <code>Getopt</code> package and <code>Getopt::Long::Configure</code> with <code>permute</code> as one of the options. However, now I need to keep the order of the options entered by the user. There is an option <code>$RETURN_IN_ORDER</code> mentioned in the <code>Long.pm</code>, however doesn't seem to be used anywhere at all. </p>

<p>When I pass <code>return_in_order</code>, I am getting the following error.</p>

<hr>

<blockquote>
  <p>Getopt::Long: unknown config parameter "return_in_order" at C:/Program Files/IBM/RationalSDLC/common/lib/perl5/5.8.6/Getopt/Long.pm line 1199.</p>
</blockquote>

<hr>

<p>Can someone please tell me if this is supported at all and if so, the right way to use? If not, I would like to know the other alternatives I have.</p>

<p>Thanks.</p>

It's called
```
require_order
```
, according to the manpage I have here. :-)