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 `perl6 -Ilib README.md -fv`
forked from tadzik/Getopt-Type
-
Notifications
You must be signed in to change notification settings - Fork 0
JJ/Getopt-Type
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
MAIN? Getopt semantics? Why not both?
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Other 59.9%
- Perl 40.1%