in reply to namespaces and variable initilization with require 'file'

As an alternative to $main::a (noted by JavaFan), you can declare using our.