advice on module naming?

2020-04-01 Thread Felipe Gasper
Hello, I’d like to add a module to CPAN that wraps a given value as either a success or a failure, such that: my $good = create_success('yay'); my $bad = create_failure('nono'); $good->get(); # returns 'yay'; $good->error() # returns undef; $bad->get();# throws 'nono'; $bad->err

Module naming and a couple other questions

2012-09-10 Thread Joshua Megerman
I'm a new member of PAUSE, looking to upload my first module. I ask for some advice from those who have more experience than I, as I'd like to do this the right way the first time :) 1. I have developed a module that provides an XS interface to the WMI library (libasync_wmi_lib.so) that is genera

RE: Module Naming Help

2012-09-05 Thread Michael Gatto
Hello, I agree about not placing it in the XML::RSS namespace if I'm not subclassing XML::RSS. "RSS::MediaRSS" sounds pretty good, since it distinguishes RSS from MediaRSS which indeed differ. I do notice that there is a RSS::Video::Google module, so mine would have good company :-) Thanks for

Re: Module Naming Help

2012-09-04 Thread brian d foy
[[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article , Michael Gatto wrote: > I'm writing a module for CPAN and want some advice on naming. The module's > purpose is to create a MediaRSS feed by scanning a directory of video files

Module Naming Help

2012-09-02 Thread Michael Gatto
Hello, I'm writing a module for CPAN and want some advice on naming. The module's purpose is to create a MediaRSS feed by scanning a directory of video files. I chose to place it in the XML::RSS namespace. I now call it XML::RSS::Media::Video. I originally called it XML::RSS::MRSS::Video. I'v

Re: Advice on Module naming, please

2012-06-18 Thread brian d foy
[[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article <4fdac797.8020...@stanford.edu>, Sam Brain wrote: > I have written a small PP module called Array::GroupBy, whose main > export is a subroutine /igroup_by()/ I think Array::Gr

Advice on Module naming, please

2012-06-16 Thread Sam Brain
I have written a small PP module called Array::GroupBy, whose main export is a subroutine /igroup_by()/ Quoting from the POD (attached): /igroup_by() /returns an iterator which when called, returns sub-arrays of the given array whose elements are "equal" as determined by a user-supplie

Re: Help in module naming

2012-06-06 Thread brian d foy
[[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article , Samir Cury wrote: > root namespace, given that we still don't know if more people are going to > contribute with more modules for Condor. I find it possible but unlikely. I d

Re: Help in module naming

2012-06-05 Thread Samir Cury
Hi Brian, > > > The original name I thought of was Condor::QueueParser, because it is > used > > That sounds like a good name to me. It puts Condor related stuff under > a top-level name that users care about. Matt suggested Parse::, but > I've never fancied that top-level. It inverts the importan

Re: Help in module naming

2012-06-03 Thread brian d foy
[[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article , Samir Cury wrote: > Dear all, > > I just joined CPAN because I want to contribute with a module (kinda > obvious). My question is about naming, having read already ( > https:

Re: Help in module naming

2012-05-21 Thread Matt S Trout
On Mon, May 21, 2012 at 07:59:24PM +0200, Samir Cury wrote: > Thanks Matt! I had no idea about this namespace. > > So I would go for something like Parse::CondorQueue, or > Parse::Condor::Queue ? > > I prefer the second because it gives more flexibility in the long-term, so > unless there's recom

Re: Help in module naming

2012-05-21 Thread Samir Cury
Thanks Matt! I had no idea about this namespace. So I would go for something like Parse::CondorQueue, or Parse::Condor::Queue ? I prefer the second because it gives more flexibility in the long-term, so unless there's recommendation against it I will submit it with that name. Cheers, Samir On M

Re: Help in module naming

2012-05-21 Thread Matt S Trout
On Mon, May 21, 2012 at 07:47:03AM +0200, Samir Cury wrote: > Dear all, > > I just joined CPAN because I want to contribute with a module (kinda > obvious). My question is about naming, having read already ( > https://pause.perl.org/pause/authenquery?ACTION=pause_namingmodules ). > > The original

Help in module naming

2012-05-20 Thread Samir Cury
Dear all, I just joined CPAN because I want to contribute with a module (kinda obvious). My question is about naming, having read already ( https://pause.perl.org/pause/authenquery?ACTION=pause_namingmodules ). The original name I thought of was Condor::QueueParser, because it is used for parsing

Re: Looking for module naming help

2012-01-02 Thread brian d foy
[[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article , Steve Muskiewicz wrote: > The module (not yet in CPAN) is currently named "Radio::Thermostat" I think that's a fine name. I don't really see the point of adding Device::* to

Looking for module naming help

2011-12-30 Thread Steve Muskiewicz
Hello Perl module gurus! I recently registered as a CPAN author (though have been writing Perl for 15+ yrs) and am looking for some naming advice on a module that I was planning to upload to CPAN. Here's a little background, which is hopefully relevant/helpful: The module (not yet in CPAN) is cu

Re: Module naming question (wrapper to IPsonar API)

2011-11-18 Thread brian d foy
[[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article <5ad28fa5-56cc-4ced-b9c0-8452197fd...@ironkeyboard.com>, George Budd wrote: > My initial thought was that I would name the module "IPsonar-", but > in looking at the namespace

Module naming question (wrapper to IPsonar API)

2011-11-18 Thread George Budd
Hello, I'm writing a module to interface with an application called IPsonar. IPsonar is written by a company called Lumeta and is a tool used to tell middle-large organizations things that they didn't know about their network. I work at Lumeta but this is a personal project rather than being comp

Re: Question about module naming and registration

2011-01-30 Thread brian d foy
In article <4d427b5a.6060...@cpan.org>, Steffen Mueller wrote: > The order above would reflect my preference, but it might well be that > brian or other admins have a different preference, so in the end, it's > up to you. None of your ideas was terrible. Steffen says the same things that I wou

Re: Question about module naming and registration

2011-01-28 Thread Steffen Mueller
Hi Colin, On 01/24/2011 11:03 PM, colin wrote: As this is a new module, would you advise that I change it to Vim::Vimpl or App::Vimpl before registering the namespace? sorry for the delay. We're all pretty busy :( I haven't checked out the module, but in general terms: Applications (as in th

Question about module naming and registration

2011-01-24 Thread colin
I was largely emulating Vimana (http://search.cpan.org/dist/Vimana/) when I uploaded Vimpl (http://search.cpan.org/dist/Vimpl/). After doing more reading on CPAN module creation and uploading, it seems to be suggested that avoiding the root namespace for distributions is the best practice (especial

Module Naming Guidance. Net or XML?

2003-03-17 Thread Timothy Appnel
I'm preparing to submit my contribution to CPAN and wanted to make sure I'm "doing the right thing." I wrote a modularized implementation of core TrackBack 1x functionality. I have until now made it available on my own site under the name XML::TrackBack.[1] In retrospect, I think I should hav

Module naming/behavior question

2003-02-09 Thread Luke Palmer
I have a module that does multiple regex substitutions in parallel safely, like this: $str = subst($str, qr/([0-9]*[1-9])/ => '${1}0', qr/([0-9]+)0/ => '$1', ) (Adding zeroes to numbers that don't have them, and taking them off numbers that do

Module Naming

2003-01-29 Thread Luke Palmer
I have a module that performs parallel substitutions on a string, as in: $str = subst $str, qr/foo/ => 'bar', qr/bar/ => 'baz', qr/baz/ => 'foo'; Just as if it were typed: $str =~ s/(foo|bar|baz)/$1 eq 'foo' ? 'bar' : $1 eq 'bar' ? '

Re: module naming proposal: Text::Messages

2002-10-29 Thread _brian_d_foy
[ this is the same thing i posted in my reply to the same message on comp.lang.perl.modules ] In article <[EMAIL PROTECTED]>, John Clyman <[EMAIL PROTECTED]> wrote: > $error_messages = Messages->new({ > bad_file_format => 'File format not recognized!', > file_open_failed => sub

module naming proposal: Text::Messages

2002-10-29 Thread John Clyman
Hello all, I'm preparing to upload an OO module to CPAN and would appreciate comments on the module name. Here's a quick excerpt of highlights from the doc: -begin- With the Text::Messages class, you can create objects that dynamically construct status, error, or other messages on behalf of your

Re: Module naming and relevance question

2002-09-19 Thread Dominique Dumont
[EMAIL PROTECTED] (Pat Deegan - Psychogenic) writes: > MiniXML includes a pure Perl implementation of the API that allows > you to access XML data and create valid XML output with a tree-based > hierarchy of elements - you may wish to have a look at > http://minixml.psychogenic.com/ for a detaile

Module naming and relevance question

2002-09-18 Thread Pat Deegan - Psychogenic
Greetings. I sent a message earlier concerning a request for a PAUSE account (got it, uid PDEEGAN, thanks) and for suggestions concerning renaming my upcoming Shiphp modules. I have a few more questions concerning a related project. The shipping module talks to various shipping rate server

Re: Request for Comments - module naming

2002-07-30 Thread James G Smith
Tim Bunce <[EMAIL PROTECTED]> wrote: >On Thu, Jul 25, 2002 at 01:01:59PM -0500, James G Smith wrote: >> My questions for now are two: >> (1) should I place the state machine outside the general application >> namespace and, if so, what are some suggestions for where to put >> it? I am

Re: Request for Comments - module naming

2002-07-30 Thread Tim Bunce
On Thu, Jul 25, 2002 at 01:01:59PM -0500, James G Smith wrote: > I'm working on a fairly complex web application framework that > combines AxKit, Template Toolkit, and possibly HTML::Mason, under > mod_perl. > > Some of the goals include rapid prototyping of form-driven > applications (looking at

Re: Request for Comments - module naming

2002-07-29 Thread Arthur Bergman
On torsdag, juli 25, 2002, at 08:01 , James G Smith wrote: > From: James G Smith <[EMAIL PROTECTED]> > Date: tor jul 25, 2002 08:01:59 Europe/Stockholm > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Request for Comments - module naming > Reply-To: [EMAIL PR

Request for Comments - module naming

2002-07-25 Thread James G Smith
I'm working on a fairly complex web application framework that combines AxKit, Template Toolkit, and possibly HTML::Mason, under mod_perl. Some of the goals include rapid prototyping of form-driven applications (looking at leveraging SVG), fail-over (robustness in the face of machine/network fail

Re: Module Naming

2002-07-12 Thread Janek Schleicher
Matthew Smith wrote at Fri, 12 Jul 2002 06:37:53 +0200: > I'm looking to create a simple Perl module to return the distance between two points >on the Earth, > using a great circle calculation. I was thinking of using GEO::Great_Circle or >something of that > ilk. > I'm not a geograph, but a

Module Naming

2002-07-11 Thread Matthew Smith
Hi I'm looking to create a simple Perl module to return the distance between two points on the Earth, using a great circle calculation. I was thinking of using GEO::Great_Circle or something of that ilk. Comments? Cheers M -- Matthew Smith | -- Tivis Project -- IT Consultant

Re: PAUSE registration, module naming

2000-07-07 Thread Riad Wahby
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >Please not Net::IM, Net::InstantMessenger, or Net::InstMsg! There are >lots of instant messaging protocols out there, and I can tell you from >personal experience that the number is growing very quickly. Net::AIM is >fine by me . . . . This ce

Re: PAUSE registration, module naming

2000-07-06 Thread Kurt D. Starsinic
On Thu, Jul 06, 2000 at 07:19:49PM -0400, Chris Nandor wrote: > At 16.40 -0400 2000.07.06, Riad Wahby wrote: > >I also have a question as to naming my module. I had been planning to > >call the module Net::InstMsg; however, upon reading the guidelines, I > >found that it is likely that Net::Insta

Re: PAUSE registration, module naming

2000-07-06 Thread Chris Nandor
At 16.40 -0400 2000.07.06, Riad Wahby wrote: >I also have a question as to naming my module. I had been planning to >call the module Net::InstMsg; however, upon reading the guidelines, I >found that it is likely that Net::InstantMessenger is a better module >name. Which do you suggest I use? If

PAUSE registration, module naming

2000-07-06 Thread Riad Wahby
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I would like to register as a contributor to PAUSE. I am currently finishing a relatively complete AOL Instant Messenger module and would like to make it available on CPAN. My information: Name: Riad Wahby E-mail: [EMAIL PROTECTED] Hom

New module naming

2000-04-06 Thread Greg McCarroll
Following on from discussions on London.pm i've implemented a small module called Mutator, Mutator once inherited allows a module to dynamically overload another packages methods ontop of itself creating a third holding module (or mutant). Not sure which namespace to put it in, either Class::Mu