Skip to content
This repository
Newer
Older
100644 15 lines (13 sloc) 0.572 kb
41df0279 »
2012-01-22 Start drafting port of Sub introspection, MAIN_HELPER
1 # the following was adapted from Geoffrey Broadwell's code in Rakudo nom
2 # * $?USAGE
3 # * Create $?USAGE at compile time
4 # * Make $?USAGE available globally
5 # * Command-line parsing
6 # * Allow both = and space before argument of double-dash args
7 # * Comma-separated list values
8 # * Allow exact Perl 6 forms, quoted away from shell
9 # * Fix remaining XXXX
10
566fb13d »
2012-01-23 Fix "\r\n".perl
11 # TODO (sorear): add True, False to val(); (eval) becomes -e; change param
12 # names to be name-of-var or ""; Str.perl escaping
41df0279 »
2012-01-22 Start drafting port of Sub introspection, MAIN_HELPER
13
7f9a5148 »
2012-01-23 More sub introspection fiddles, add MAIN_HELPER to setting
14 multi MAIN('foo', :$sam) { say "A" }
15 multi MAIN('bar', $quux) { say "B", $quux };
Something went wrong with that request. Please try again.