Re: Please help me name a module for lossy text compression

2012-12-20 Thread Darren Chamberlain
On Thu, Dec 20, 2012 at 11:09 AM, Brian Katzung wrote: > On second thought... Text::Filter::NoPunctuation is probably better than > ::Unpunctuate. ::StripPunctuation would be even more descriptive. -- Darren Chamberlain

Re: my $self = shift

2010-09-11 Thread Darren Chamberlain
Template Toolkit (and several other modules) use this idiom: sub new { my $class = shift; # allow hash ref as first argument, otherwise fold args into hash my $config = defined $_[0] && UNIVERSAL::isa($_[0], 'HASH') ? shift : { @_ }; .. } Which lets you do any of these:

Re: autoabbrev algorithm from Getopt::Long

2009-02-13 Thread Darren Chamberlain
On Fri, Feb 13, 2009 at 09:05, Johan Vromans wrote: >> I could just extract the code from Getopt::Long but I think it would >> be a useful thing to have as a CPAN module... > > No problem with that, but since this is only supposed to assist > typing, would't looking at readline completions be a be

Re: RFC: String::Smart

2007-10-12 Thread Darren Chamberlain
* Andy Armstrong [2007/10/10 21:36]: > Particularly in web applications - but in other areas too - people > regularly make a complete mess of escaping / unescaping strings. At > different times a string may need to be > > * unescaped plain text > * SQL quoted > * entity encoded > * url encoded >

Re: Module name - smoke testing automation

2007-04-15 Thread Darren Chamberlain
On 4/15/07, A. Pagaltzis <[EMAIL PROTECTED]> wrote: Maybe this deserves to go in some module. Yeah, File::Which. -- (darren)

Sed (was Re: Package::Unicorn)

2007-02-18 Thread Darren Chamberlain
On 2/18/07, A. Pagaltzis <[EMAIL PROTECTED]> wrote: (If I had a nickel for every time I've wished Perl had an s///-like function that returned a modified copy instead of modifying the original string in place…) This was the impetus behind my Sed[0] module: my $a = "Hello, world"; my $b = sed

Re: Reclaiming lists.{perl,cpan}.org

2007-01-26 Thread Darren Chamberlain
On 1/26/07, Éric Cholet <[EMAIL PROTECTED]> wrote: Le 26 janv. 07 à 04:14, Ken Williams a écrit : > Well, the list itself is indeed moved, but I can't find anyone to > change lists.cpan.org to *tell* people it moved. Elaine maintains that page, but she didn't answer my emails requesting some cha

Re: Module::Signature issues

2006-05-11 Thread Darren Chamberlain
* James E Keenan [2006/05/07 20:31]: > When I manually downloaded Pod-Readme-0.08 (which still included a > SIGNATURE file), I got this error message: > > [Downloads] 523 $ cd Pod-Readme-0.08 > [Pod-Readme-0.08] 524 $ cpansign -v > Executing gpg --verify --batch --no-tty > --keyserver=hkp://pgp

Re: RFC - a module to generate README from POD

2005-04-29 Thread Darren Chamberlain
* Robert Rothenberg [2005/04/29 00:16]: > I'm rather tired of manually editing README files before each release, > and do not like using a straight pod2text either, since it contains a > lot of superfluous information. I always do perldoc -t Module.pod > README, and it works out pretty good:

Re: Module Name

2004-12-27 Thread Darren Chamberlain
David Landgren wrote: Terrence Brannon wrote: > I believe you can do everything that this module does using > Parse::RecDescent. Maybe so, but Parse::RecDescent is slow, and that in itself is reason enough to avoid using it. You also have to write the grammar, which can take a non-trivial amount of

Re: MySQL::Backup?

2004-10-27 Thread Darren Chamberlain
* Smylers [2004/10/27 07:13]: > Yes, it might've been better if everything in MySQL:: had been called > Database::MySQL::whatever. To take the discussion in a different direction for a moment, I'm not sure that I agree that everything in MySQL:: should be in Database::MySQL::. I've got a module

Re: CPAN and command line scripts

2004-10-14 Thread Darren Chamberlain
* Ruslan U. Zakirov [2004/10/13 22:12]: > Hello. > http://search.cpan.org/~ruz/RT-Action-NotifyGroup/ > has script 'sbin/rt-notify-group-admin.in' that has POD and this POD is > what end-user wants more then other docs. > > What requirements should I satisfy if I want search.cpan.org to sh

Re: META.yml keywords (was: Re: Finding prior art Perl modules)

2004-07-14 Thread darren chamberlain
* Randy W. Sims [2004/07/14 15:11]: > Fergal Daly wrote: > > >Does META.yaml have a place for keyowrds? > > The spec doesn't currently provide for keywords. Is anyone generating META.yaml files by hand? I thought they were all generated (and regenerated) by Module::Build/MakeMaker? How would

Re: CPAN Rating

2004-06-18 Thread darren chamberlain
* A. Pagaltzis [2004/06/18 21:56]: > * khemir nadim <[EMAIL PROTECTED]> [2004-06-16 13:53]: > > I once wrote that it would be great to have the equivalent of > > sourceforge for perl module, the answer I got was "use > > sourceforge". Hmm talk about not answering the question. > > Maybe because i

Re: New module: CGI::Tooltip

2004-06-17 Thread darren chamberlain
* Becky Alcorn [2004/06/17 12:25]: > We're looking at releasing our new module CGI::Tooltip onto CPAN. This > module provides a simple perl interface to Walter Zorn's elegant Javascript > tooltip library (http://www.walterzorn.com/tooltip/tooltip_e.htm). This > library provides a flexible way of

Re: CPAN Rating

2004-06-16 Thread darren chamberlain
* Andy Lester [2004/06/16 10:24]: > On Wed, Jun 16, 2004 at 04:19:26PM +0100, Orton, Yves ([EMAIL PROTECTED]) wrote: > > I think part of the problem is that those with a desire to do > > something about it are not really in the position to do so. > > > > What do I have to patch to change search.c

Re: running tests

2004-04-05 Thread darren chamberlain
* Andy Lester [2004/04/02 16:59]: > Sure, but even better is to run only the tests that need to be run, > which is a key part of prove. You can run "prove -Mblib t/mytest.t" > instead of the entire "make test" suite. $ make test TEST_FILES=t/mytest.t (darren) -- An idea is not responsible f

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

2004-02-10 Thread darren chamberlain
* Eric Cholet [2004/02/10 17:27]: > Le 10 f?vr. 04, ? 16:16, darren chamberlain a ?crit : > > >I agree with you, but, if you are already investigating software to > >handle a task, wouldn't you look at as many alternatives as possible? > > I certainly wouldn'

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

2004-02-10 Thread darren chamberlain
* Dave Rolsky [2004/02/10 09:03]: > 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

[RFC] RFC::Index

2004-01-26 Thread darren chamberlain
process may take a while, depending on the speed of your machine; on my lightly loaded 1GHz PIII (1G RAM) it takes about 15 minutes to run. Multiple runs do not create duplicate entries in the database; the parser is designed to be run on a regular basis, to keep the index

Re: optional mix-in (er, add-on?) classes

2004-01-21 Thread darren chamberlain
* Eric Wilhelm [2004/01/21 13:58]: > > The following was supposedly scribed by > > darren chamberlain > > on Wednesday 21 January 2004 11:10 am: "Supposedly"? Aren't you verifying signatures? ;) > Not exactly. The IO::* modules do not have constructors, a

Re: optional mix-in classes

2004-01-21 Thread darren chamberlain
* Eric Wilhelm [2004/01/21 10:58]: > I'm trying to find a good way for CAD::Drawing::IO to determine which > of the CAD::Drawing::IO::* modules are available. It sounds like what you want is to ensure that the IO::* modules are polymorphic, i.e., to ensure that they all adhere to the same interfa

Re: Version Numbers

2004-01-09 Thread darren chamberlain
* David Wheeler [2004/01/08 19:46]: > What's the consensus on the version numbers to give to different > modules in a CPAN distribution? Lately, all the code I write has had two "version" numbers: $VERSION and $REVISION. I keep $VERSION up to date with the version number of the distribution, an

Re: DBIx::Recordset : how to make 0.25 the most recent version?

2004-01-08 Thread darren chamberlain
* Terrence Brannon [2004/01/08 05:59]: > 1- I uploaded version 0.25 of DBIx::Recordset to supercede to 0.24 > release as I am the new maintainer > > 2 - CPAN.pm showed 0.24 as the new release so I asked Gerald to edit the > metadata on PAUSE for DBIx::Recordset, to turn it over to me > > 3 - e

Re: Tie::Array::Sorted

2003-11-13 Thread darren chamberlain
* Orton, Yves [2003-11-12 17:00]: > > /me feels silly > > Ach, dont be. The main reason I feel silly is that I just used Tie::IxHash yesterday. I just never made the connection... (darren) -- There is not enough love in the world to squander it on anything by human beings. pgp0.pgp Desc

Re: New modules

2003-11-13 Thread darren chamberlain
* Oliver White [2003-11-12 20:22]: > As a first step, I was considering adding a module to read GSHHS data > [a binary format for coastline data] and give it a name something like > Geo::GSHHS. More info at the site: > http://www.soest.hawaii.edu/wessel/gshhs/gshhs.html You could petition the na

Re: Tie::Array::Sorted

2003-11-12 Thread darren chamberlain
* Orton, Yves [2003-11-12 16:31]: > Tie::Hash::Sorted > Tie::IxHash > Tie::Hash::Array > Tie::SortHash Er, thanks. /me feels silly (darren) -- I interpret advertising as damage and route around it. pgp0.pgp Description: PGP signature

Re: Tie::Array::Sorted

2003-11-12 Thread darren chamberlain
* Simon Cozens [2003-11-12 13:32]: > Is Tie::Array::Sorted a reasonable name for it, or would another one > be more obvious? This seems a reasonable name. Is there also a hash version in the works? I write: for my $key (sort keys %h) { ... often enough that I would use it. (darren)

Re: How to indicate a dependency in my module

2003-11-10 Thread darren chamberlain
* Randy W. Sims [2003-11-10 15:49]: > Also, as I noted in the AFS thread the other day, this info should be > written in META.yml so that cpan-testers can determine programatically > whether a module should be tested. Info like required non-perl packages > and libraries, whether the build/test/

Re: How to indicate a dependency in my module

2003-11-10 Thread darren chamberlain
* Bruno Negrao [2003-11-10 17:10]: > I?m finishing to write a module, Proc::Daemontools, and it requires that the > daemontools package be installed on a machine for it to work. > Where must I indicate that this module have a dependency? I already wrote > this on the README file. Is there any othe

Re: Yet another naming question

2003-11-10 Thread darren chamberlain
* Terrence Brannon [2003-11-10 08:27]: > darren chamberlain wrote: > > >Is this worth putting onto CPAN, > > > it sounds like re-useable functionality, so why not? That was my thinking. > >and, if so, what should it be called? > >The working name is Parse

Yet another naming question

2003-11-10 Thread darren chamberlain
Hello, all. I have a short module that parses arbitrary mutt-style patterns into a hash (mutt's patterns are documented in section 4.2 of the mutt manual). For example: ~t foo ~f bar would turn into: $VAR1 = { 'f' => { 'value' => 'bar', '

Re: Class::FakeAttributes -- Opinions Wanted

2003-11-03 Thread darren chamberlain
* A. Pagaltzis [2003-11-03 17:38]: > * Orton, Yves <[EMAIL PROTECTED]> [2003-11-03 17:27]: > > > If the 'foo' attribute hasn't been set to anything, then you > > > want an empty list to iterate over. With version C, that's > > > what you get. > > > > No. If $self->{foo} is undef you get an err

Re: module to access w3c validator

2003-10-29 Thread darren chamberlain
* Struan Donald [2003-10-29 13:27]: > So, does WWW::Validator::W3CMarkup::Detailed seem like a good name for > this? Explicit and informative. +1. (darren) -- There is nothing like returning to a place that remains unchanged to find the ways in which you yourself have altered. -- Nelson M

Re: Another sticky module naming issue

2003-08-21 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Richard Clamp [2003-08-21 13:16]: > On Thu, Aug 21, 2003 at 11:56:33AM -0400, Darren Chamberlain wrote: > > * Christopher Hicks [2003-08-21 11:35]: > > > That's brilliant. Who's going to do it?!!?!? > > > &g

Re: Another sticky module naming issue

2003-08-21 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Christopher Hicks [2003-08-21 11:35]: > On Thu, 21 Aug 2003, darren chamberlain wrote: > > For bonus points, make this metadata exportable as YAML so that it > > could be searched locally. Perhaps this metadata file could be > &

Re: Another sticky module naming issue

2003-08-21 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Christopher Hicks [2003-08-21 09:45]: > If there were a way for people to make their own module reference book > and keep it up to date, indexed, and such it would be a Good Thing > right? It seems to me that part of the problem is that modules don

Re: what to do with dead camels ?

2003-08-14 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * elaine [2003-08-06 08:22]: > On Sun, Aug 03, 2003 at 10:05:46AM -0700, Tim Maher wrote: > > > > Glad you mentioned that, because I've been wondering, where can one > > find hit and download stats for CPAN modules? > > Well, you can't :) There are

Re: RFC Regexp::Capture

2003-06-26 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Ken Williams [2003-06-26 18:20]: > On Thursday, June 26, 2003, at 02:37 PM, Steve Grazzini wrote: > >There's also a pragma to make the named groups available > >as implicitly-declared 'my' variables. > > > >use Regexp::Capture; > >use stric

Re: RFC Params::Normalize

2003-06-24 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Flavio S. Glock <[EMAIL PROTECTED]> [2003-06-24 10:04]: > Michel Rodriguez wrote: > > Variable/Parameter conventions can start religious wars, so I would > > like to offer module authors a way to be a little oecumenical, so > > they can easily offer

Re: [RFC] new module proposal - Template::Plugin::SessionManager

2003-06-20 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Enrico Sorcinelli [2003-06-20 12:46]: > Then I propose these modules: > > - Template::Plugin::Apache::SessionManager the TT2 wrapper around > Apache::SessionManger > - Template::Plugin::Session the TT2 simple wrapper around > Apache::Session,

Re: [RFC] new module proposal - Template::Plugin::SessionManager

2003-06-20 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Enrico Sorcinelli [2003-06-20 10:29]: > I've written a Template Toolkit plugin in order to integrate session management > under Apache/mod_perl environment using Apache::SessionManager CPAN module > (a mod_perl - framework independent - HTTP sessio

Re: [RFC] new module proposal - Template::Plugin::SessionManager

2003-06-20 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Enrico Sorcinelli [2003-06-20 10:29]: > You can get the module here: > > http://pisa.pm.org/Template-Plugin-Session-0.01.tar.gz $ wget -nv http://pisa.pm.org/Template-Plugin-Session-0.01.tar.gz http://pisa.pm.org/Template-Plugin-Session-

Re: Class::PObject - another solution for object persistence

2003-06-18 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Sherzod Ruzmetov [2003-06-18 15:46]: > I have recently uploaded Class::PObject - class framework for persistent > object programming in Perl. > it takes a different approach than existing libraries, interface resembling > more that of Class::Struct.

Re: RFC - HTTP::DAVServer

2003-04-04 Thread darren chamberlain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Jay Lawrence [2003-04-04 09:15]: > I have chosen the name HTTP::DAVServer to follow the lead of other Perl > modules which can act as a server (NET::FTPServer, NET::DNSServer). I > might have chosen HTTP::WebDAVServer but want to match up with cli

Re: [RFC] New module/app: Spine (Wiki system)

2003-03-31 Thread darren chamberlain
* Ezra Cooper [2003-03-31 00:54]: > * It contains a module, which is potentially more widely > usable--namely, a diff engine for HTML. Built on Algorithm::Diff, it > compares two snippets of HTML, word by word, and is designed so that, > if "this is some text" changes to "this is some text", > all

Re: [RFC] new module proposal

2003-03-27 Thread darren chamberlain
* Enrico Sorcinelli [2003-03-27 01:10]: > I wrote a simple collection of HTML/XML widget generator (like tabs, > boxes, paths) using a master class and the subclasses rendering the > particular elements with the same API. > I searched on CPAN and apparently I've not found similar modules, Have yo

Re: Tie::ProxyHash

2003-01-30 Thread darren chamberlain
* Martyn J. Pearce [2003-01-30 06:39]: > This seems like such a simple application that I'm surprised I can't > find one on CPAN. If there is one, please point it out to me. If > not, I propose to create it today, and upload it as 'Tie::ProxyHash'. > Comments? I like the idea, and know of no ot

Module proposal: String::Utils

2003-01-09 Thread darren chamberlain
Hello, all. Over the last few years, I've accumulated a bunch of useful string related functions that don't seem to be available, all together, in any module on CPAN. In addition, there are several functions that I keep rewriting, such as leading/trailing whitespace trimmers and Module::Name to F

Re: RFC - vCard and vCalendar - parse & generate

2003-01-03 Thread darren chamberlain
* Jay Lawrence <[EMAIL PROTECTED]> [2003-01-03 10:48]: > I have the basics of a v* file parser/generator underway. This stemmed > from my initial need to parse vCard files (because Apple's Address Book > can't print and I needed my xmas card labels! *** ) and ultimately > vCalendar files. These

Re: New module: XML::Stag - Structured Tag datastructures

2002-11-26 Thread darren chamberlain
* Chris Mungall <[EMAIL PROTECTED]> [2002-11-26 00:03]: > I have written a module for manipulating data using Simple Tree AGgregate > datastructures (recursive Structured TAGs), currently called XML::Stag Chris, This sounds like a great module, but, like others on this list, I question the use of

Re: How to run a script as part of make

2002-04-03 Thread darren chamberlain
* Randal L. Schwartz <[EMAIL PROTECTED]> [2002-04-03 01:08]: > > "Hugh" == Hugh S Myers <[EMAIL PROTECTED]> writes: > > Hugh> To answer the last, first, "make test" fails unless the script > Hugh> is run. What I don't know is the "hook the execution of the > Hugh> script into" part, at least

Re: FW: Chess-PGN-EPD

2002-04-01 Thread darren chamberlain
* Hugh S. Myers <[EMAIL PROTECTED]> [2002-04-01 15:30]: > I got this bit of email from one of the CPAN testers today. Since it works > under Windows and since I don't run Linux I've no clue as to why the > makefile generated by: > > use ExtUtils::MakeMaker; > # See lib/ExtUtils/MakeMaker.pm for d

Re: repost: RFC: CPAN::Grab

2002-03-07 Thread darren chamberlain
Quoting Kurt D. Starsinic <[EMAIL PROTECTED]> [Mar 07, 2002 10:28]: > On Mar 07, Sam Vilain wrote: > > Which reminds me. Is anyone working on a CPAN debian package > > archive? > > > > I remember Schwern making a joke about it after Ingy's plea > > for PPM help at YAPC last year. Did anything e

Re: ANNOUNCE: Nmap::Scanner 0.01

2002-02-08 Thread darren chamberlain
Max Schubert <[EMAIL PROTECTED]> said something to this effect on 02/08/2002: > I just uploaded to my home directory on CPAN my first > attempt at a CPAN release ... Nmap::Scanner. Might this belong more appropriately in the Net:: namespace? Net::Nmap, for example? (darren) -- The awfu

Re: New module idea -- Env::Object

2001-09-04 Thread darren chamberlain
Mark Stosberg <[EMAIL PROTECTED]> said something to this effect on 08/30/2001: > darren chamberlain wrote: > > > > NAME > > Env::Object - An object oriented interface to the current environment > > Thanks for posting this. While I like and use OO programm

New module idea -- Env::Object

2001-08-30 Thread darren chamberlain
} for ($q->param) { $self->{$_} = $q->param($_); } bless $self, $class; } #!/usr/bin/perl use CGI; use CGI::Env; my $q = CGI->new; my $e = CGI::Env->new($q); AUTHOR darren chamberlain <[E

Re: Help Name This DBIx:: module...

2001-08-30 Thread darren chamberlain
Jeremy Zawodny <[EMAIL PROTECTED]> said something to this effect on 08/30/2001: > Some of you may recall my "DBIx:: namespace?" post from several > weeks back. Now that I'm convinced that the module we're ("we" > being "Yahoo!") looking to release belongs there, I need a > name for it. And I'm

Re: Making a distribution for a new module.

2001-04-27 Thread darren chamberlain
Paul Hendryx ([EMAIL PROTECTED]) said something to this effect on 04/27/2001: > Is there documentation somewhere about how to create a distribution file for > a new module? I would like to share my modules with CPAN, but dont know > where to start. Any help would be greatly appriciated. Try h2x

Re: Question

2001-04-19 Thread darren chamberlain
[EMAIL PROTECTED] ([EMAIL PROTECTED]) said something to this effect on 04/18/2001: > Hi, > > I have a question regarding the usage of the modules. > I have written my module in: /net/project/gmi/dev/lib The name of it is: > GMIPackage > I am running my Perl program using that module in: /net/

Re: [RFC] HTML::AutoWidget

2001-02-21 Thread darren chamberlain
Roger Gammans ([EMAIL PROTECTED]) said something to this effect on 02/21/2001: > I've been playing with the idea of simplifying 'simple' user entry > form for CGI, and have got working code for the following approach. Sounds interesting, and I think the name is appropriate. Is a version availab