text: in reply to
  How to export multiple packages in one file to another Perl program?
  package MyFile
  require Exporter;
  our @ISA = qw(Exporter);
  our $BY_SIZE = 0;
  our $BY_USER = 1;
  our $BY_DATE = 3;
  @EXPORT_OK = qw(
  $BY_SIZE
  $BY_USER
  $BY_DATE
  );
  [download]
  "In C you would put these values in a .h file."
  In C, you wouldn't have multiple namespaces. That's the primary difference here.
  In C++, if memory serves, you could have multiple namespaces and then in your .cpp (or .cxx or whatever) file, you would have using std; using object1; ... and there's no way to auto-import a bunch of namespaces, and doing so in the header would defeat much of the purpose of namespaces (they don't export just small pieces like we can in Perl). use Module; as normal.
  If you want MyThing to export the stuff from Object1, check out Import::Into. This might work: metho
  +d but uses magic.
  }
  #...
  package Object1;
  # has to handle its exports here as if it were in its own file.
  1;
  [download]
  Priority 1, Priority 2, Priority 3
  Priority 1, Priority 0, Priority -1
  Urgent, important, favour
  Data loss, bug, enhancement
  Out of scope, out of budget, out of line
  Family, friends, work
  Impossible, inconceivable, implemented
  Other priorities
  Results (254 votes),
  past polls