in reply to Re^2: default hash name for GetOptions
in thread default hash name for GetOptions
Unfortunately, that's not a particularly good solution and I wouldn't recommend it to someone researching a similar problem.
My two main issues with this code are the use of symbolic references (i.e. ${"opt_$_"}) and global variables (e.g. @mainOptions, $numOfMain and so on). Adding use strict; and use warnings; to the top of your code will highlight these and other problems.
-- Ken
|
|---|