Have you read our? Suresh main hometown remains "rajkot" as you do not change $main::hometown, "parmar_rajkot" is assigned to $parmar::hometown. Main hometown is printed as "parmar_rajkot", because the variable $hometown does not alias $main::hometown, but $parmar::hometown, as that's the package where you used our for the last time.