summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPratik Karki <predatoramigo@gmail.com>2019-05-05 22:15:29 +0545
committerGitHub <noreply@github.com>2019-05-05 22:15:29 +0545
commit64792e6fbfbdd5bee6ac613a9f787927a883425c (patch)
tree2f9dcf2ab77884aa0011ac0df9f66a58cfbee5d0
parent65a4d56d2a9d33da2e028c16cad29eaf07465810 (diff)
parent3bc441d4666b058f116949a60977adb79224dc62 (diff)
Merge pull request #3526 from sdshlanta/patch-1
[perl5/en] Fixed variable not declared before use.
-rw-r--r--perl.html.markdown2
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";