[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: package proposal
- From: Diego Nehab <diego@...>
- Date: Thu, 30 Sep 2004 13:11:27 -0400 (EDT)
> In Perl, for instance, you have a module called CGI and another called
> CGI::Carp. You can use CGI without using CGI::Carp, the latter being a
> kind of optional auxiliary module for the former.
> Of course, there is nothing wrong with a main module that only imports
> all sub-modules of that package, but this is just one possible design.
I prefer require"socket" not to import socket.http, socket.udp,
socket.url, socket.smtp etc. The user might just want the basic