File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
= head1 Getting arguments through the command line
8
8
9
9
The simplest way is to use the
10
- L < C < @*ARGS > |/language/variables#index-entry- %24%2AARGS> variable to obtain
10
+ L < C < @*ARGS > |/language/variables#%24%2AARGS> variable to obtain
11
11
arguments from the command line; this array will contain the strings that follow
12
12
the program name. L < C < %*ENV > |/language/variables#Runtime_environment> will
13
13
contain the environment variables, so that if you use:
@@ -25,7 +25,7 @@ This will fail if the environment variable C<API_KEY> has not been defined
25
25
previously.
26
26
27
27
Perl 6 has a better way to deal with command line arguments if they represent
28
- file names: the L < C < $*ARGFILES > /language/variables#index-entry- %24%2AARGFILES>
28
+ file names: the L < C < $*ARGFILES > | /language/variables#%24%2AARGFILES>
29
29
dynamic variable.
30
30
31
31
= begin code
@@ -81,4 +81,4 @@ C<setprotoent>. L<Search and install C<P5> modules|https://modules.perl6.org/sea
81
81
82
82
= end pod
83
83
84
- # vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
84
+ # vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
You can’t perform that action at this time.
0 commit comments