1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-06 14:56:54 +02:00

Merge pull request #3526 from sdshlanta/patch-1

[perl5/en] Fixed variable not declared before use.
This commit is contained in:
Pratik Karki
2019-05-05 22:15:29 +05:45
committed by GitHub

View File

@@ -152,7 +152,7 @@ while (condition) {
...
}
my $max = 5;
# for loops and iteration
for my $i (0 .. $max) {
print "index is $i";