in reply to Command Prompt arguments.
In fact, this recent Code I posted uses Getopt::Std for some required and optional command-line arguments. Hope it's illustrative for you.
Edit: Added link to example code.