Module naming: postifx/dovecot/MySQL configuration
Hi, I've been working on a module which basically makes it easy to write command-line tools for interacting with a postfixadmin[0] installation, that is a Postfix/Dovecot mail server with virtual domains/users stored in MySQL. I'd like to upload it to the CPAN, and I'm after some advice on what to call it first. The closest I can find on the CPAN is VUser::Email::Postfix which is part of VUser. There's also Mail::Vpopmail which is exactly the same in purpose, but for Vpopmail rather than postfixadmin. To me, this obviously belongs somewhere in the Mail namespace, but I'm not really sure where it should go in that. I'm tempted to rename it to Mail::Postfixadmin, but I don't want to give the impression that it's somehow endorsed by that project. It's currently called Mail::Vpostmail (since originally it was to be a postfix clone of the Vpopmail utilities and it must have seemed like a reasonable pun at the time). I've got a bunch of work to do on it over Christmas, and I figure that that's also as good a time as any to rename it in preparation for making it more public and check everything still works. Thanks! -- Avi [0] http://sourceforge.net/projects/postfixadmin/
Looking for nightcat (LINC)
Hi, Does anyone have contact details, or even know the name of Nightcat (PAUSE id LINC)? (S)he has three dists on CPAN, including HTTP::Client. I've fixed a number of bugs in HTTP::Client, and mailed the address registered with PAUSE, but that results in a bounce (no such mailbox). None of the dists give Nightcat's name, so I'm drawing a blank on tracking him/her down. I've emailed postmaster at his registered address, to see if they can give me a forwarding address. PAUSE admins: if that turns up nothing, I'll ask for co-maint. Neil
Naming of Perl module
Hi there, I'm close to completing a module, but I'm pretty clueless on what to call it. The purpose of the module is to find files which match a regular expression. The module currently only has one subroutine which takes two parameters, base_directory and expression. The subroutine traverses all subdirectories of the base directory and returns a hash when it's completed. Each key of the returned hash is the absolute path of the directory, and the value(s) associated with the key are the files which were found matching the regular expression within that directory, the hash only returns a directory if there are files which matched the given regex found within that directory. I've had a couple of ideas such as File::Snap (based on a card game I used to play as a child), but I'm not sure if it's very suitable. Any guidance would be appreciated. Many thanks, Lloyd.
Re: Naming of Perl module
File::RegexMatch? On Tue, Dec 13, 2011 at 8:21 AM, ll...@singletasker.co.uk wrote: Hi there, I'm close to completing a module, but I'm pretty clueless on what to call it. The purpose of the module is to find files which match a regular expression. The module currently only has one subroutine which takes two parameters, base_directory and expression. The subroutine traverses all subdirectories of the base directory and returns a hash when it's completed. Each key of the returned hash is the absolute path of the directory, and the value(s) associated with the key are the files which were found matching the regular expression within that directory, the hash only returns a directory if there are files which matched the given regex found within that directory. I've had a couple of ideas such as File::Snap (based on a card game I used to play as a child), but I'm not sure if it's very suitable. Any guidance would be appreciated. Many thanks, Lloyd. -- Check out my LEGO blog at http://www.brickpile.com Follow/friend me: facebook.com/billward • flickr.com/photos/billward • twitter.com/williamward
Re: Module naming: postifx/dovecot/MySQL configuration
Hi Avi, * Avi Greenbury li...@avi.co [2011-12-13 14:10]: To me, this obviously belongs somewhere in the Mail namespace, but I'm not really sure where it should go in that. I'm tempted to rename it to Mail::Postfixadmin, but I don't want to give the impression that it's somehow endorsed by that project. neither is Mail::vpopmail. https://metacpan.org/module/Mail::vpopmail#AUTHOR http://vpopmail.svn.sourceforge.net/viewvc/vpopmail/trunk/doc/AUTHORS?view=markup It’s the exception rather than the norm that a module on CPAN which interfaces with XYZ is written by the XYZ project/owners themselves. I’d argue for this name. It's currently called Mail::Vpostmail (since originally it was to be a postfix clone of the Vpopmail utilities and it must have seemed like a reasonable pun at the time). It made me think your module is about sending mail in some way… esp. so since you had just mentioned vpopmail. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/
Re: Module naming: postifx/dovecot/MySQL configuration
Mail::Postfixadmin seems fine to me On Tue, Dec 13, 2011 at 5:06 AM, Avi Greenbury li...@avi.co wrote: Hi, I've been working on a module which basically makes it easy to write command-line tools for interacting with a postfixadmin[0] installation, that is a Postfix/Dovecot mail server with virtual domains/users stored in MySQL. I'd like to upload it to the CPAN, and I'm after some advice on what to call it first. The closest I can find on the CPAN is VUser::Email::Postfix which is part of VUser. There's also Mail::Vpopmail which is exactly the same in purpose, but for Vpopmail rather than postfixadmin. To me, this obviously belongs somewhere in the Mail namespace, but I'm not really sure where it should go in that. I'm tempted to rename it to Mail::Postfixadmin, but I don't want to give the impression that it's somehow endorsed by that project. It's currently called Mail::Vpostmail (since originally it was to be a postfix clone of the Vpopmail utilities and it must have seemed like a reasonable pun at the time). I've got a bunch of work to do on it over Christmas, and I figure that that's also as good a time as any to rename it in preparation for making it more public and check everything still works. Thanks! -- Avi [0] http://sourceforge.net/projects/postfixadmin/ -- Check out my LEGO blog at http://www.brickpile.com Follow/friend me: facebook.com/billward • flickr.com/photos/billward • twitter.com/williamward
Re: Naming of Perl module
On Tue, 13 Dec 2011, ll...@singletasker.co.uk wrote: The purpose of the module is to find files which match a regular expression. The module currently only has one subroutine which takes two parameters, base_directory and expression. The subroutine traverses all subdirectories of the base directory and returns a hash when it's completed. Is there any reason you're not using one of File::Find, File::Find::Rule, or a variety of other CPAN modules which can already do this? -dave /* http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) */
Re: Naming of Perl module
variety of other CPAN modules which can already do this Feature comparison: http://p3rl.org/Path::Class::Rule#SEE-ALSO signature.asc Description: PGP signature