You may want to investigate Getopt::Std and Getopt::Long.
Give a man a fish: <%-{-{-{-<
In reply to Re: Make command line argument optional
by AnomalousMonk
in thread Make command line argument optional
by TonyNY
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |