Re: Let's eliminate the Module List

2004-08-27 Thread Simon Cozens
[EMAIL PROTECTED] (A. Pagaltzis) writes: I object. Browsing is problematic when the amount of data becomes overwhelming, but it is useful as a concept. You're thinking in terms of use, I'm thinking in terms of implementation. -- It's usually // either for a good reason // or a bad reason

Re: Let's eliminate the Module List

2004-08-27 Thread Simon Cozens
[EMAIL PROTECTED] (A. Pagaltzis) writes: * Simon Cozens [EMAIL PROTECTED] [2004-08-24 15:37]: Repeat after me: browsing is just searching metadata. That is essentially correct, but beware of metacrap[1]. [1] http://www.well.com/~doctorow/metacrap.htm Niggly comments are great! I love the way

Re: Let's eliminate the Module List

2004-08-24 Thread Simon Cozens
[EMAIL PROTECTED] (Randy W. Sims) writes: Looks like you and Simon should collaborate. We've been chatting. Is it possible or realistic for it to have pluggable search browse engines. I think so. There are three things at issue, all of which can and should be implemented distinctly: 1)

Re: Let's eliminate the Module List

2004-08-23 Thread Simon Cozens
[EMAIL PROTECTED] (Nicholas Clark) writes: Until someone does, nothing will change. No-one on this list is preventing anyone from trying this. I'm working on it. The only thing that sucks about search.cpan.org is the search engine, which is a shame since that's the major part of it. Thankfully,

Re: Let's eliminate the Module List

2004-08-19 Thread Simon Cozens
[EMAIL PROTECTED] (Jose Alves de Castro) writes: I don't want to show the results of a search. I want to say Here is the link to the module list. See how long it is? It contains practically everything you need, doesn't it? http://www.cpan.org/modules/02packages.details.txt.gz -- yes

Re: Finding prior art Perl modules (was: new module: Time::Seconds::GroupedBy)

2004-07-14 Thread Simon Cozens
[EMAIL PROTECTED] (Mark Stosberg) writes: I think part of the solution to fix that is to have more contributions to the CPAN ratings system, and consider the ratings in the search results. The searching in search.cpan.org is, unfortunately, pretty awful. At some point I plan to sit down and

Re: Finding prior art Perl modules (was: new module: Time::Seconds::GroupedBy)

2004-07-14 Thread Simon Cozens
[EMAIL PROTECTED] (Scott W Gifford) writes: It would be interesting to calculate the importance of a module by how many other modules link to it, either via a use statement or by reference in the POD, much like Google does with Web page links. Someone's already done this for CPAN, but I can't

Re: CPAN Rating

2004-06-21 Thread Simon Cozens
[EMAIL PROTECTED] (Khemir Nadim) writes: why do we have Savanna, Rubyforge and other? Because people are naturally fractious and would prefer to reinvent the wheel in order to do things Their Way instead of making use of the available resources. -- We use Linux for all our mission-critical

Re: CPAN Rating

2004-06-16 Thread Simon Cozens
[EMAIL PROTECTED] (Khemir Nadim) writes: But I can't live anymore with the low quality and release process that CPAN has!!! *sigh*. Is it that time of year again? We have this discussion every six months or so. Everyone talks about it. Nobody does anything about it. Nothing gets done. Goto 1.

Re: Namespace convenions

2004-05-19 Thread Simon Cozens
[EMAIL PROTECTED] (Erik Norgaard) writes: I just browsed through the namespace guidelines and the concern about avoiding the namspace to clutter up. Namespaces had their day when there was no easy way to search CPAN, and we had to just browse to the modules we want. Now we have a full-text

Re: PerlHack - Adding new flag into a SV

2004-04-23 Thread Simon Cozens
[EMAIL PROTECTED] (Graciliano M. P.) writes: I'm working on a module that need to add a new flag to a SV that is stored by it. Urgh. Don't do it! Actually I just need to find a way to mark that SV by this module, so, will be possible to identify this SVs from the others. Piers Cawley worked

Re: running tests

2004-04-05 Thread Simon Cozens
[EMAIL PROTECTED] (Andy Lester) writes: Sure, and you can turn on HARNESS_VERBOSE to get the raw output of the .t file. prove puts all that stuff behind easy command-line switches, and lets you specify wildcards, and lets you specify a directory that implicitly does all the *.t within the

Re: AW: defining 'constants' at run time

2004-03-05 Thread Simon Cozens
[EMAIL PROTECTED] (David Nicol) writes: constants before you compile the code that sees them This must be some strange new meaning of the word runtime that I wasn't previously aware of. :) What is being asked for can't be done. -- God Save the Queen! And let Satan take the Prime Minister...

Re: defining 'constants' at run time

2004-03-04 Thread Simon Cozens
[EMAIL PROTECTED] (Sam Vilain) writes: To the programmer who has some real reason not to use the regex engine, that you don't know about, none of the above are useful. However, if the programmer doesn't bother to explain what that reason is, it's natural to assume that he's just being weird.

Re: defining 'constants' at run time

2004-03-02 Thread Simon Cozens
[EMAIL PROTECTED] (Rodent Of Unusual Size) writes: evidently the usage of DOH in the caller has already been fetched from the symbol table (and found wanting) before the method has been called. is there any way to defeat that? No. -- There seems no plan because it is all plan.

Re: AW: defining 'constants' at run time

2004-03-02 Thread Simon Cozens
[EMAIL PROTECTED] (Jochen Stenzel) writes: the base technique is to build a use constant statement at runtime and evaluate it via eval(). % perl -w -Mstrict -le 'eval use constant FOO = 3; print FOO' Name main::FOO used only once: possible typo at -e line 1. print() on unopened filehandle FOO

Re: Reshaping the modules list: a starting point, help remove the bias.

2004-02-24 Thread Simon Cozens
[EMAIL PROTECTED] (Leon Brocard) writes: I don't really see the point of the modules list any more. search.cpan.org and CPAN.pm/CPANPLUS don't use it. Most modules aren't on it. Shouldn't we just give up on it? That's weird. I said that too. But then, if people want to spend time on this, I

Re: [RFC] Text-Balanced 1.96 proposed interface changes: return failure in list context

2004-02-16 Thread Simon Cozens
[EMAIL PROTECTED] (Khemir Nadim) writes: Vagn Johansen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How do you avoid breaking old programs when the interface changes? You don't. IMHO it's the users responsibility to check for what version they are using not the module author.

Re: OK, so we've decided that the right modules are too hard to find.

2004-02-16 Thread Simon Cozens
[EMAIL PROTECTED] (Khemir Nadim) writes: Everything that was said in this thread was very interresting and I, too, belive things should get better and I encourage those that want to do things _now_. None of these ideas are new. - Any one can start whatever hierarchy This is not a problem,

Re: Module lists: defining the problem, restating the goals [was Re: OK, so we've decided...]

2004-02-16 Thread Simon Cozens
[EMAIL PROTECTED] (Michel Rodriguez) writes: I guess it becomes a social (for lack of a better term) instead of a technical issue: this is what we should link to when we want to reference a module. This is in fact the policy I've been using for perl.com for a while now. -- A word to the

Re: OK, so we've decided that the right modules are too hard to find.

2004-02-15 Thread Simon Cozens
[EMAIL PROTECTED] (Johan Vromans) writes: Good idea, but don't we need to solve the current module registry problems as well? Many module authors issue submission requests and never get a reply. Tim also wrote: But [EMAIL PROTECTED] has it's own set of problems (that I hope will be addressed

Re: OK, so we've decided that the right modules are too hard to find.

2004-02-15 Thread Simon Cozens
search.cpan.org. -- When Simon Cozens writes code, I always think twice about whether something is a bug or an esoteric implementation. - Daniel Packer

Re: Finding the module you want (was: New module Mail::SendEasy)

2004-02-11 Thread Simon Cozens
[EMAIL PROTECTED] (Smylers) writes: Let's get some good material written first, then worry about where to stick it ... Oh, I know a little Perl-related web site that would love any module comparison articles you were to come up with. -- The use of COBOL cripples the mind; its teaching should,

Re: Finding the module you want (was: New module Mail::SendEasy)

2004-02-10 Thread Simon Cozens
[EMAIL PROTECTED] (Dave Rolsky) writes: On Tue, 10 Feb 2004, A. Pagaltzis wrote: * It's better to have comparative articles than module centric reviews; they're also less susceptible to manipulation. I think these are great. The problem is they're a lot of work. I've written two

Re: New module Mail::SendEasy

2004-02-09 Thread Simon Cozens
[EMAIL PROTECTED] (Smylers) writes: Personally I found Simon's commentary on some mail-sending modules to be very useful (and I didn't object to his choice of words: when he found something he didn't like he merely said so -- he didn't insult the code's author or make allegations about members

Re: Need advice for new module for Fast CGI, for enverioments without mod_perl.

2004-02-05 Thread Simon Cozens
[EMAIL PROTECTED] (Graciliano M. P.) writes: The concept is very simple, just need to find a way to make all of this in a portable way. Soo, what name I can give for this? I just have no idea. - CGI::FastBridge? I'd call it pperl, for Persistent Perl. Oh, wait.

Re: New module Mail::SendEasy

2004-02-05 Thread Simon Cozens
[EMAIL PROTECTED] (Yves Orton) writes: Well suggest a name. It seems like folks concur that the name is not so great so ill alias it to something else.  Mail::Send::MIME? -- People in a Position to Know, Inc.

Re: New module Mail::SendEasy

2004-01-26 Thread Simon Cozens
Dave Rolsky: I think your article sort of misses the point. ... No, I think you miss my point. The slowness and amount of code are not nearly as important as the fact that the API is inelegant. However, the code is slow and bulky. But keep most of the internals, because he's dealt with a

Re: Re3: Re: How about class Foo {...} definition for Perl?

2004-01-18 Thread Simon Cozens
[EMAIL PROTECTED] (Graciliano M. P.) writes: Well, this is why I made Class::HPLOO not dependent of HPL source. Then it should not be called HPL. It's nothing to do with it. Please call modules after what they do, rather than random unrelated projects that initiated them. I'm about to release a

Re: Re3: Re: How about class Foo {...} definition for Perl?

2004-01-18 Thread Simon Cozens
[EMAIL PROTECTED] (Terrence Brannon) writes: I'm sorry, but I must take the bait: is the framework Apache-dependant? At the moment, yes. It's also tied to Class::DBI. And Template Toolkit. At the moment. Once it's written and it works, I'll then abstract it. Does it not belong to the CGI::*

Re: would you$please shut the door?

2004-01-13 Thread Simon Cozens
[EMAIL PROTECTED] (Sam Vilain) writes: Acme::please is for randomly inserting please into your output via a tied scalar. The string and printing percentage are both configurable (see the documentation.) Surely this should be in Lang::Courtesy::Random::En? It certainly shouldn't

Lingua::EN::Inflect extension name

2004-01-01 Thread Simon Cozens
I've just written an interesting extension to Lingua::EN::Inflect, but I can't think of a good name for it. It provides three extra functions, number, to_PL and to_S. These inflect a noun to its plural or to its singular form. Lingua::EN::Inflect, perhaps surprisingly, doesn't do this, and in

Re: RFC: Date::Iterator

2003-12-19 Thread Simon Cozens
[EMAIL PROTECTED] (Marco Marongiu) writes: my $i = Date::Iterator-new( from = [2003,10,3], to = [2003,11,10] ) ; while (my $day = $i-next) { ... } Marco, in case you're getting discouraged, I think there's certainly a place for Date::Iterator; I like it a lot, and I *really* like modules in the

Re: RFC: Date::Iterator

2003-12-19 Thread Simon Cozens
[EMAIL PROTECTED] (Dave Rolsky) writes: No, but it's not easier, and it's _much_ less flexible. The difference between you and I is that you see that as a bad thing and I see it as a good thing. It's a philosophical difference when it comes down to it, such as between Windows programming and

Re: Class::Accessor subclass

2003-12-10 Thread Simon Cozens
Richard Clamp: On Tue, Dec 09, 2003 at 06:32:01PM +, Simon Cozens wrote: So, uh, what would be a good name for it, then? Class::Accessor::Assert? Just ::Assert seems a little wide-ranging for what you have just now. Well, I also want to be asserting that some members exist in the hash

Class::Accessor subclass

2003-12-09 Thread Simon Cozens
I'm about to write a Class::Accessor subclass that allows validity checking on the accessors it generates. For instance, you will be able to say __PACKAGE__-mk_accessor(headers = Some::Header::Object); and then this becomes a runtime error: Foo-new({ headers =

Re: Looking for help with Net::SSH::Perl Net::SFTP

2003-11-20 Thread Simon Cozens
[EMAIL PROTECTED] (Yves Orton) writes: I more meant that being the man with the Net:: Oh, you still believe that namespace ownership actually exists in practice? How quaint. Maybe I shouldn't have uploaded my latest module into Tie::, because that's owned by... -- Remember, any design flaw

Re: Tie::Array::Sorted

2003-11-13 Thread Simon Cozens
Randy W. Sims: Sounds like a set/multiset/bag structure. I thought it sounded more like a sorted array, but I'm prepared to be persuaded otherwise. (Primarily because I've already released the module to CPAN. ;) http://search.cpan.org/search?query=Setmode=all Which of those were you thinking

Re: Tie::Array::Sorted

2003-11-13 Thread Simon Cozens
Randy W. Sims: Hmm, Jarkko has a nice set (err, no not those), but (and no not that either) your module is the only one I see that uses a tied array to implement a set; Sorry, I should have been more explicit. I can't see any connection between keeping something *sorted* specifically and

Re: Submitting a new module? (Linux::ForkControl)

2003-11-13 Thread Simon Cozens
[EMAIL PROTECTED] (Arthur Corliss) writes: 2) I almost thing that a reverse would be better (i.e., ForkControl::Linux, Alternatively, there are Unix and Proc top level namespaces already. -- The trouble with computers is that they do what you tell them, not what you want. -- D.

Re: Tie::Array::Sorted

2003-11-13 Thread Simon Cozens
[EMAIL PROTECTED] (Struan Donald) writes: However, if I am looking for a module that makes it easy for me to have a sorted array I am not going to look at modules with Set in the name. The module's already uploaded, guys; the thread is dead. -- There seems no plan because it is all plan.

Re: name for a module that implements dynamic inheritance?

2003-10-30 Thread Simon Cozens
[EMAIL PROTECTED] (Dave Rolsky) writes: There's a lot of trickery that would need to be involved here, as you can't simply alter @ISA for the specified classes, and I'm not entirely sure how I'll implement it, but that's a separate problem. Sex.pm does this sort of thing, in case you haven't