If you'd like to make programs that take command-line options (like Perl's own -w for warnings, for example), there are modules that let you do this in a standard way. See the documentation for the Getopt::Long and Getopt::Std modules.
Copyright © 2002 O'Reilly & Associates. All rights reserved.