Loading ...
Sorry, an error occurred while loading the content.

276Re: [extremeperl] Re: 'maps' and 'delegates' in IO::ClassLoader.pm ??

Expand Messages
  • Terrence Brannon
    May 24 1:31 PM
    • 0 Attachment
      "robnagler" <nagler@...> writes:


      > B<NOTE: You can only load classes which are of type
      > L<Bivio::UNIVERSAL|Bivio::UNIVERSAL> with this module.>

      ack. More of the Bivio self-containedness.

      > This last point is important. If you just need a simple class loader,
      > you probably don't want Bivio::IO::ClassLoader. Use something
      > simpler, e.g.
      >
      > eval 'use My::Class;1' || die($@);
      >
      > There are probably CPAN packages which do that much.

      http://www.metaperl.com/article-pod/Catalog-lazy_loaders/lazy_loaders.html

      > ClassLoader is also used defer loading classes until
      > they are needed.

      yes, I call those lazy loaders and maintain a list of them.

      --
      Carter's Compass: I know I'm on the right track when,
      by deleting something, I'm adding functionality.
    • Show all 6 messages in this topic