in reply to Is use really appropriate in a OO system?

In general, the import list for an OO module should be empty, so use is still an appropriate interface.

However, in some cases, exporting a constructor is practical. For example, the URI module exports a url constructor to make it easier to convert strings to URIs.

-- Randal L. Schwartz, Perl hacker

  • Comment on Re: Is use really appropriate in a OO system?