in reply to Re^3: Using variables, arrays etc from a perl module in main script.
in thread Using variables, arrays etc from a perl module in main script.

vars created true globals that were exported into the default package, and did not require FQPNs. our's mechanism simply makes them visible (public) but does not export them into the default package. Thus, variables declared with our are accessible but won't clobber or be clobbered unless the import mechanism is invoked.
  • Comment on Re^4: Using variables, arrays etc from a perl module in main script.