in reply to Command Prompt arguments.

There are some modules that handle that for you. See Getopt::Long or Getopt::Std.
Boris