Friends,

When we use strict pragma, is there a way to "prevent" redefining a
variable?


use strict;
my ($i) = 5;            # $i defined
print ("Val of i = $i");
my ($i)         = 6;            # $i redefined?Could this be tagged as an
error?
print ("Val of i = $i");



Thanks,
Rex

Reply via email to