in reply to Possible Stupid Perl Trick - Importing method into object class?

The process functions are contained in their own modules, such as MyCode::ProcessA, MyCode::ProcessB, etc.

Why?

Or, more in line with my thinking, and assuming that there's a good chance you'll use objects to implement this, why not put all your functions/methods in a single file? (That excludes an object hierarchy, however. I would think that if you had a hierarcy of objects, then would probably want separate files.)

  • Comment on Re: Possible Stupid Perl Trick - Importing method into object class?