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:
@@ -152,7 +152,7 @@ while (condition) {
|
||||
...
|
||||
}
|
||||
|
||||
|
||||
my $max = 5;
|
||||
# for loops and iteration
|
||||
for my $i (0 .. $max) {
|
||||
print "index is $i";
|
||||
|
Reference in New Issue
Block a user