http://qs1969.pair.com?node_id=55868


in reply to Reading command line flags into variables...?

Another solution, to complement all the suggestions you've had so far, is to use AppConfig. It offers you the functionality of both Getopt::Std and Getopt::Long, as well as supporting the transparent use of configuration files.

Useful to consider, especially if there's any danger that the number of commandline options your program needs will increase in the future.

HTH

Pete