Re: Seeking naming guidance
[email protected] (Dan Book) Sat, 12 Mar 2022 13:57:16 -0500
| Newsgroups | perl.module-authors |
|---|---|
| Message-ID | <CABMkAVXbaqStu6H86zPHdCFPP3Dhh9qa9rQcAi4aaQ49atcyLw@mail.gmail.com> |
--000000000000bfdd9c05da0a04fd Content-Type: text/plain; charset="UTF-8" On Sat, Mar 12, 2022 at 1:55 PM Jim Avera <[email protected]> wrote: > Hello World, > > I'm seeking guidance on naming a module to avoid inappropriately > stepping on existing namespace. > > The module is a wrapper for (actually subclass of) Data::Dumper with a > fairly large API. But its most distinguishing feature is interpolating > strings where massaged Data::Dumper output is substituted for variable > references. > > Locally this has been in use for years as module "Vis", but now that I'm > going to contribute it to CPAN I thought it would be best to rename the > module to something like > > Data::Dumper::Interpolate # Most suggestive, but a lot to type > Data::Dumper::Interp # less typing, still sort-of suggestive > Data::Interpolate # even less typing but more vague > > My first question is whether placing *anything* below Data::Dumper is > appropriate. Obviously my module is not supported or sanctioned by the > authors of Data::Dumper. > > Thanks for any help! > > -Jim Avera > > P.S. For specifics, please run > > perldoc http://abhweb.org/jima/perl/lib/Data/Dumper/Interp.pm > > (module name is tentative of course) > > > > There isn't a Data::Dumper ecosystem, and there are already similar modules under the Data::Dumper:: namespace (e.g. Data::Dumper::HTML, Data::Dumper::Lazy, Data::Dumper::Concise) so I think it is perfectly appropriate. -Dan --000000000000bfdd9c05da0a04fd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Sat, Mar 12, 2022 at 1:55 PM Jim Avera= <<a href=3D"mailto:[email protected]">[email protected]</a>> wro= te:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad= ding-left:1ex">Hello World,<br> <br> I'm seeking guidance on naming a module to avoid inappropriately <br> stepping on existing namespace.<br> <br> The module is a wrapper for (actually subclass of) Data::Dumper with a <br> fairly large API.=C2=A0 But its most distinguishing feature is interpolatin= g <br> strings where massaged Data::Dumper output is substituted for variable <br> references.<br> <br> Locally this has been in use for years as module "Vis", but now t= hat I'm <br> going to contribute it to CPAN I thought it would be best to rename the <br= > module to something like<br> <br> =C2=A0=C2=A0 Data::Dumper::Interpolate=C2=A0=C2=A0=C2=A0 # Most suggestive,= but a lot to type<br> =C2=A0=C2=A0 Data::Dumper::Interp=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 # less typing, still sort-of suggestive<br> =C2=A0=C2=A0 Data::Interpolate =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # even less ty= ping but more vague<br> <br> My first question is whether placing *anything* below Data::Dumper is <br> appropriate.=C2=A0 Obviously my module is not supported or sanctioned by th= e <br> authors of Data::Dumper.<br> <br> Thanks for any help!<br> <br> -Jim Avera<br> <br> P.S. For specifics, please run<br> <br> =C2=A0=C2=A0=C2=A0=C2=A0 perldoc <a href=3D"http://abhweb.org/jima/perl/lib= /Data/Dumper/Interp.pm" rel=3D"noreferrer" target=3D"_blank">http://abhweb.= org/jima/perl/lib/Data/Dumper/Interp.pm</a><br> <br> (module name is tentative of course)<br> <br> <br> <br></blockquote><div><br></div><div>There isn't a Data::Dumper ecosyst= em, and there are already similar modules under the Data::Dumper:: namespac= e (e.g. Data::Dumper::HTML, Data::Dumper::Lazy, Data::Dumper::Concise) so I= think it is perfectly appropriate.</div><div><br></div><div>-Dan</div></di= v></div> --000000000000bfdd9c05da0a04fd--