in reply to output on the command line

You need to use a module that will take care of parsing the command line for you. Many exist, but as I see that you use the same option name more than once (e.g. --option), you will probably be better off using Getopt::Mixed.

I wrote a tutorial on Parsing your script's command line, which may be of some assistance.


print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u'