in reply to [General] Non-Specific Options Question

You could make a decision, as described in Re: How do I process many (conflicting) command line parameters? (and modify it a bit):

# untested my $action = shift; my %actions = ( options => \&get_options, config => \&read_config ); $actions{$action}->(); sub get_options { # get options } sub read_config { # read config }

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help