2 ms·
use Getopt::Long; use Pod::Usage; =pod ... your scripts documentation here... =cut GetOptions( 'help' => sub{ pod2usage(-exitval=>0, -verbose=>99)
by bandie91 3y ago
use Getopt::Long;
use Pod::Usage;
=pod
... your scripts documentation here...
=cut
GetOptions(
'help' => sub{ pod2usage(-exitval=>0, -verbose=>99); },
) or pod2usage(-exitval=>2, -verbose=>99);
=pod
... continuing here...
=cut