On Tue Apr 17 21:42:53 2012, FAYLAND wrote:
Show quoted text> Hi, there is a lot of modules like Net::GitHub which starts with Net::
>
> eg: Net::Flickr::Simile, Net::Amazon, Net::Disqus, Net::Google::*
>
> even I agree with you that WWW:: is more suitable, but there isn't a
> plan to change the name for
> now. (actually it's too hard to do, it will break others' code)
>
> Thanks
Hi, thanks for the quick response. Sorry for replying once more. To
avoid breaking client code, you can create an alias to WWW:: and not
remove Net::.
From PAUSE's guide of naming modules: "The Net namespace is one of the
most abused namespaces out there. Originally designed as a home for the
code that knows how to talk various defined network protocols, such as
FTP, HTTP, NNTP, and so on, people started using it for code that
merely used the network without knowing anything about it. Modules that
interact with websites use the network, but they aren't about the
network, and they have much better homes in WWW or WebService. If you
are implementing a network protocol rather than an application
protocol, then Net might be for you. Otherwise, it isn't."
But anyway this is just a suggestion.
Thanks.