diff options
| author | Mike Shlanta <sdshlanta@gmail.com> | 2019-05-01 12:39:29 -0500 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-01 12:39:29 -0500 | 
| commit | 3bc441d4666b058f116949a60977adb79224dc62 (patch) | |
| tree | b3bf238c46c89dc83b65e32ae0359e2782e32909 /perl.html.markdown | |
| parent | 2dde374091366cb098e5d405daa9c4c4c469b6dc (diff) | |
Fixed variable not declared before use. 
The variable `max` was not declared before use in demonstrating how for loops work over ranges.  It has been added on line 155 and set to a value of 5
Diffstat (limited to 'perl.html.markdown')
| -rw-r--r-- | perl.html.markdown | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.html.markdown b/perl.html.markdown index 17a538e3..08001ab0 100644 --- a/perl.html.markdown +++ b/perl.html.markdown @@ -152,7 +152,7 @@ while (condition) {    ...  } - +my $max = 5;  # for loops and iteration  for my $i (0 .. $max) {    print "index is $i";  | 
