in reply to How to export multiple packages in one file to another Perl program?

As far as I understand it, the idea of using OO is that you do not export anything from within your classes

That said, for each package where you want to export something, you will need to use Exporter(); within the package

  • Comment on Re: How to export multiple packages in one file to another Perl program?
  • Download Code

Replies are listed 'Best First'.
Re^2: How to export multiple packages in one file to another Perl program?
by Wcool (Novice) on Oct 04, 2012 at 18:09 UTC
    Well I do use exporter for the non-object oriented code already and it works. I even have 'sections' I can export like :date and :maths But I run into trouble importing any objectt oriented parts I have to use use STDLIB; to get the library file read, but how do I get the code for package OBJECT1 read?