mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
Merge pull request #3526 from sdshlanta/patch-1
[perl5/en] Fixed variable not declared before use.
This commit is contained in:
commit
64792e6fbf
@ -152,7 +152,7 @@ while (condition) {
|
||||
...
|
||||
}
|
||||
|
||||
|
||||
my $max = 5;
|
||||
# for loops and iteration
|
||||
for my $i (0 .. $max) {
|
||||
print "index is $i";
|
||||
|
Loading…
Reference in New Issue
Block a user