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


in reply to exit or die in error handling?

I would suggest also looking at one of the Getopt::* modules on how to manage command line parameters (Getopt::Long, or my current favorite, Getopt::Declare). There is also the -s command line switch for parsing command line options.

-QM
--
Quantum Mechanics: The dreams stuff is made of