http://paperlined.org/dev/perl/modules/documentation/Getopt::Casual.pl

#!/usr/bin/perl

# skeleton code for how to initially setup Getopt::Casual

    use strict;
    use warnings;

    use Getopt::Casual;
    use Data::Dumper;

# process command-line
sub usage {print <DATA>; exit 1}
$ARGV{'--help'} || $ARGV{'-h'} and usage();
$ARGV{'--dump_args'} and die Dumper(\%ARGV);








__EOF__
########[ command-line arguments ]##############################################
        
All arguments are parsed per standard Getopt::Casual rules.
 
...

--dump_args
        dump the parsed arguments (%ARGV), to confirm how Getopt::Casual works

Generated by GNU enscript 1.6.4.