How to get options in the order entered by the user, using Getopt::Long?
I have an existing Perl program that uses Getopt package and Getopt::Long::Configure with permute as one of the options. However, now I need to keep the order of the options entered by the user. There is an option $RETURN_IN_ORDER mentioned in the Long.pm file, however it doesn't seem to be used anywhere at all. When I pass return_in_order, I am getting the following error. 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. Can someone please tell me if this is supported at all and if so, the right way
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.