Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to add an option "input" which is dynamic,meaning the option values and the number of values changes based on user input.

For example when the user runs the following command,how do i know how many values are entered and how can I access all the arguments added for option input?Can anyone please advise?

COMMAND:- Eg: findfiles -input data modem apps -des "finding files" -r 1000
Currently I am doing the following to get options

GetOptions (\%options, 'folder=s','des=s','r=i') or die("\nERROR:Inval +id Option\n");