lire installs stuff in /usr/share/perl5/WWW
Joost van Baal
joostvb at logreport.org
Tue Jan 8 22:39:42 CET 2002
On Tue, Jan 08, 2002 at 09:34:49AM -0500, Francis J. Lacoste wrote:
> On Tue, Jan 08, 2002 at 02:09:57PM +0100, E.L. Willighagen wrote:
> > > (for --prefix=/usr , that is). I am afraid this will, at one day, lead
> > > to nameclashes.
> > > Does the functionality of the
> > > modules justify claiming the WWW namespace? I suggest moving it to a
> > > place somewhat deeper in the perl module tree, like e.g.
> > >
> > > WWW/Lire/
> > > WWW/AwStats/
> > > WWW/LogReport/
> > > Lire/WWW/
> > >
> > > or choose some other way to reflect the fact that these modules are
> > > mainly functional for parsing logfiles (or HTTP requests, that is.)
> > > (hmm... WWW/HTTPParser/ ?)
>
> > >
> > > BTW, on http://sourceforge.net/projects/logreport we're offering
> > > WWW::Useragent 0.3.2. This should need to get updated, once we change
> > > installation locations. And we'd have to update the way we refer to the
> > > modules in our perl scripts, of course.
> > >
> > > I'd like to wait uploading Francis' Lire .deb, untill we've agreed on
> > > this issue. (The last released .deb lacks the perl5/WWW stuff.)
> >
> > I did never get around to registering the WWW:: namespace with CPAN...
> > Lire/WWW would indeed be better.
> >
>
> We should only use the Lire:: namespace if the module is specific
> to Lire. Egon, did you know if the AwStat guy intend to use that
> module? If the AwStat project starts to reuse that code, then it might
> be interesting to use an appropriate module like:
>
> Log::HTTP::
>
> All log parsing modules are under Log::
>
> If AwStats doesn't intend to reuse it, we might as well use
> the Lire:: namespace. (And maybe move the modules under www/lib)
Early september, Egon wrote he was heading towards a situation where
AWStats makes use of the same modules. I haven't heard anything from
Laurent Destailleur, the AWStats maintainer. Is there any progress
made, or should we forget about this?
On CPAN, I found out about the existence of HTTP::BrowserDetect and
Parse::Syslog, it indeed might be a good idea to start a general Log::
namespace.
Some notes about naming are on
http://cpan.valueclick.com/modules/00modlist.long.html#ID2_Guidelinesf ,
2.5 (or any other CPAN mirror, of course). No strict guidelines here,
though. It's Perl :) .
Main issue is, I guess: do we want to keep shipping the modules as
separate packages? If not, we'd better go for Lire::WWW . Its
functionality is not really tied to Lire, otoh, maintaining it as a
separate package gives a bit of overhead.
Anyway, I guess I'll just upload the .deb as it is now. 3 weeks delay is
enough.
Bye,
Joost
--
Joost van Baal . . http://www.logreport.org/
. .
/^LogReport$/ . . joostvb at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/development/attachments/20020108/4c63bbe2/attachment.bin
More information about the Development
mailing list