Since you haven't specified that -smm should take a value, it is being taken as a "simple" (ie. boolean) option. And as you've supplied it on the command line, it will be set to true. And true is often represented as 1 in Perl.
If your intent is that c:\files should be taken as the value for -smm, the you should specify that as -ssm=s in te call to GetOptions().
In reply to Re: Options always prints 1
by BrowserUk
in thread Options always prints 1
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |