Open guobbs opened 4 years ago
I have two sub function, have two same local variable name in these sub functions.
sub fun_1 { my $file = "1.pl"; ...... } sub fun_2 { my $file = "2.pl"; ...... }
first execute sub fun_1, the local variable panel display "$file:1.pl". when execute sub fun_2, the local variable panel display "$file:1.pl" yet.
I have two sub function, have two same local variable name in these sub functions.
first execute sub fun_1, the local variable panel display "$file:1.pl". when execute sub fun_2, the local variable panel display "$file:1.pl" yet.