I would strongly suggest using Getopt::Long. It takes all the headaches out of processing command-line parameters. I'd go as far as saying that if you're processing a command-line, and you want to do anything other than accept a plain old list of filenames, then you're a fool not to use it. Unless of course, that would be disallowed by the guidelines for your assignment.
In reply to Re: Optional Arguments..?
by tobyink
in thread Optional Arguments..?
by Watergun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |