- or download this
GetOptions( 'test=s' => \$option_test )
or exit(1);
defined($option_test)
or die("Missing argument -t");
- or download this
GetOptions( 'test=s' => \$option_test )
or die("Invalid command-line option\n");
defined($option_test)
or die("Missing argument -t\nInvalid command-line option\n");
- or download this
use File::Basename qw( basename );
...
defined($option_test)
or usage("Missing argument -t\n");