http://www.perlmonks.org?node_id=986056


in reply to optional command line arguments

Getopt::Long works for me. See The Dynamic Duo --or-- Holy Getopt::Long, Pod::UsageMan! for a comprehensive discussion. Beware, though, that I know nothing of C & my response is based on your text.

Regards,

John Davies