Rand Stats

Getopt::Type

zef:jjmerelo

Getopt::Type Test-install distro

Forked from tadziks version

MAIN? Getopt semantics? Why not both?

use Getopt::Type;

sub MAIN(*%opts where getopt(<f|force v|verbose>)) {
    say "Forcing!"   if %opts<force>;
    say "Verbosing!" if %opts<verbose>;
    say %opts.perl;
}

# try `raku -Ilib README.md -fv thisprog.raku`