KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Why is there no warning thrown for the redeclaration of $i in the following code? #!/usr/bin/perl use strict; use warnings; use Data::Dumper; for my $i (1..3) { my $i = 'DUMMY'; print Dumper $i; }
Tags (comma-separated)
Save Edits
Cancel