Getopt::Type

MAIN? Getopt semantics? Why not both?

Getopt::Type

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`

Getopt::Type v0.1.1

MAIN? Getopt semantics? Why not both?

Authors

  • Tadeusz ā€œtadzikā€ Sośnierz

License

Dependencies

Test Dependencies

Provides

  • Getopt::Type

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.