note
btrott
The '=' in 'refresh=i' doesn't mean that 'refresh' is a mandatory
option to the program. It means that, if 'refresh' is supplied,
the *integer argument* is mandatory. So you can't just have
<code>
$ foo.pl --refresh
</code>
An argument to 'refresh' is mandatory.<p>
I don't think there *is* a way to indicate that an option is
mandatory (ie. that 'refresh' must be provided as an option).<p>
And since 'refresh' may not be provided, the
<code>
$REFRESH = 10
</code>
sets the default value for 'refresh' to 10. And it can be overriden
on the command line with '--refresh'.
88904
88904