Re: Jperl is bad name -;

2013-10-29 Thread Bill Ward
What does it do that is different from the existing JavaScript modules? Maybe you can build on top of one of those? On Tue, Oct 29, 2013 at 4:58 PM, Jean-Damien Durand < jeandamiendur...@free.fr> wrote: > Big thanks for all the suggestions! > > Let me reply to the original mail directly. I liked

Re: please help me name a module

2013-09-12 Thread Bill Ward
On Thu, Sep 12, 2013 at 8:56 PM, Greg Lindahl wrote: > On Thu, Sep 12, 2013 at 05:38:00PM +0100, Smylers wrote: > > > How about Vehicle::Tesla::ModelS then? > > > > Does putting Device:: in front of that lot actually add anything, other > > than to the unwieldiness of the name? > > Vehicle:: does

Re: please help me name a module

2013-09-12 Thread Bill Ward
nglish-speaking world auto means automatic, not > > > automobile. > > > > Also, I would suggest including the ::ModelS, as it's entirely > > possible that Tesla will release budget modules in future which won't > > support all the cool stuff. > > Bill Ward w

Re: please help me name a module

2013-09-12 Thread Bill Ward
I'd suggest Vehicle instead of Car since future instances might be trucks, vans, motorcycles, etc. Sent from my phone (sorry if my reply is brief, ask me again when I'm at a real keyboard) On Sep 12, 2013 1:47 AM, "Aaron Trevena" wrote: > On 12 September 2013 07:58, Aristotle Pagaltzis wrote: >

Re: What to call a module that rewrites Perl code

2013-08-31 Thread Bill Ward
Is it truly only ever going to work on Perl code? Mightn't it also be pluginnable to rewrite other kinds of files? On Friday, August 30, 2013, Shlomi Fish wrote: > On Sat, 31 Aug 2013 06:11:03 +0100 > Robert Rothenberg > wrote: > > > At $work, I've been writing scripts that use PPI to munge massi

Re: Namespace for Module Wrapping iTunes' Store Executable

2013-06-25 Thread Bill Ward
Thanks On Tue, Jun 25, 2013 at 1:31 AM, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 wrote: > > -- Check out my LEGO blog at brickpile.com Follow/friend me: Facebook • Flickr

Re: Namespace for Module Wrapping iTunes' Store Executable

2013-06-25 Thread Bill Ward
On Tue, Jun 25, 2013 at 1:07 AM, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 wrote: > > Net::iTMS > No, for the well-known reasons. > What well-known reasons? -- Check out my LEGO blog at brickpile.com Follow/friend me: Facebook • Flickr

Re: removal request - Sys::UniqueID

2012-05-02 Thread Bill Ward
On Wed, May 2, 2012 at 6:25 AM, Daniel Lukasiak wrote: > On 02/05/12 00:49, Todd Rinaldo wrote: > >> On May 1, 2012, at 1:09 PM, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 wrote: >> >> If removal isn't possible is there any other mechanism (forced depreciation?) that can be used? >>> You could take it over and

Re: Changing module name

2012-04-09 Thread Bill Ward
I think the easiest solution is to create a new module with the new name, and refactor the old one to use it... so Plack::Middleware::Auth::Form would still exist as a consumer of the new module, and perhaps there are some Plack-specific things that it might add to the inherited object, especially

Re: Seeking advice on module name: Config::CPP?

2012-03-23 Thread Bill Ward
Consider CPP::Config? On Fri, Mar 23, 2012 at 2:49 PM, David Oswald wrote: > I maintain Inline::CPP. Currently that module's Makefile.PL jumps > through a bunch of hoops to detect the C++ compiler most compatible > with the C compiler that built perl, and to detect what default C++ > libraries

Re: Naming of Perl module

2011-12-14 Thread Bill Ward
On Wed, Dec 14, 2011 at 7:24 AM, Smylers wrote: > Bill Ward writes: > > > On Wed, Dec 14, 2011 at 3:46 AM, Smylers wrote: > > > > > Bill Ward writes: > > > > > > > File::RegexMatch? > > > > > > I think having ::Find:: in there

Re: Naming of Perl module

2011-12-14 Thread Bill Ward
On Wed, Dec 14, 2011 at 3:46 AM, Smylers wrote: > Bill Ward writes: > > > File::RegexMatch? > > I think having ::Find:: in there would be better, so that it's > immediately obvious that this module performs a similar task to the > other modules already named like

Re: Module naming: postifx/dovecot/MySQL configuration

2011-12-13 Thread Bill Ward
Mail::Postfixadmin seems fine to me On Tue, Dec 13, 2011 at 5:06 AM, Avi Greenbury 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

Re: Naming of Perl module

2011-12-13 Thread Bill Ward
File::RegexMatch? On Tue, Dec 13, 2011 at 8:21 AM, 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 tw

Re: The CPAN Covenant

2011-11-17 Thread Bill Ward
On Thu, Nov 17, 2011 at 10:44 AM, Shawn H Corey wrote: > On 11-11-17 01:37 PM, Bill Ward wrote: > >> Sounds good to me ... I hereby accept this covenant for the modules I >> maintain, present and future, until such time as I indicate otherwise in >> email to modu.

Re: The CPAN Covenant

2011-11-17 Thread Bill Ward
Sounds good to me ... I hereby accept this covenant for the modules I maintain, present and future, until such time as I indicate otherwise in email to modu...@perl.org On Thu, Nov 17, 2011 at 12:13 AM, Neil Bowers wrote: > A week ago I posted a proposal for a voluntary pledge, which CPAN > modu

Re: The module authors pledge

2011-11-11 Thread Bill Ward
On Fri, Nov 11, 2011 at 2:43 PM, wrote: > On Thu, Nov 10, 2011 at 11:27:04PM +, Neil Bowers wrote: > > Interesting thought. How about: > > > > - if a distribution author appears to be inactive, then the author > would receive an email to their registered > > CPAN email address s

Re: The module authors pledge

2011-11-10 Thread Bill Ward
I think the "Should I die" (though I think "in the event of my death" would be better) can only really work if a family member replies to the email saying that the maintainer has passed away, which isn't too likely but could happen. Since those time limits would expire eventually anyway, it's proba

Re: Math::BigInt inheritance problems

2011-10-10 Thread Bill Ward
On Mon, Oct 10, 2011 at 10:42 AM, Paul Bennett wrote: > On Mon, 10 Oct 2011 13:30:22 -0400, Bill Ward wrote: > > On Sun, Oct 9, 2011 at 7:44 AM, Paul Bennett ** >> wrote: >> >> Ah, but an IP address *is* really a number. An unsigned 128-bit integer, >>&g

Re: Math::BigInt inheritance problems

2011-10-10 Thread Bill Ward
On Sun, Oct 9, 2011 at 7:44 AM, Paul Bennett wrote: > On Sun, 09 Oct 2011 10:34:46 -0400, Leon Timmermans > wrote: > > I think the obvious mistake you're making is using inheritance in the >> first place. Why are you doing that? Your interface is not «an IP >> address is really a number», so why

Re: PDF in Marpa::XS distribution?

2011-07-18 Thread Bill Ward
On Mon, Jul 18, 2011 at 2:07 PM, Andreas J. Koenig < andreas.koenig.7os6v...@franz.ak.mind.de> wrote: > > On Sun, 17 Jul 2011 09:43:01 -0700, Jeffrey Kegler < > jeffreykeg...@mac.com> said: > > > I'd like feedback on a question. My feeling is that internals > documentation is > > important,

Re: Need suggestions for a module name

2011-06-18 Thread Bill Ward
ily. File::Temp only manages single > temp files or directories in isolation, whereas my module manages a set of > them with logs about how they were created. > On 18 Jun 2011 23:44, "Bill Ward" wrote: > > It's not really that high level or specialized. It's just

Re: Need suggestions for a module name

2011-06-18 Thread Bill Ward
It's not really that high level or specialized. It's just a matter of updating how the file name is generated. I could easily see it going either way. If you do go with a separate module, the interface should be the same (with whatever added options needed to add the new features) as File::Temp, fo

Re: Interesting licensing requires written permission of the author to modify it

2011-03-14 Thread Bill Ward
On Mon, Mar 14, 2011 at 11:53 AM, David Nicol wrote: > > > On Mon, Mar 14, 2011 at 10:22 AM, Gabor Szabo wrote: > >> Hi I found a module on CPAN >> http://search.cpan.org/~goyali/google_talk_bot_v_01/ >> with the following comment regarding licensing: >> >> "You are not allowed to modify the sc

Re: Module Naming Suggestion - Carp from somewhere else

2011-03-05 Thread Bill Ward
Have you talked to the maintainer of Carp about this? It might be best to just suggest it as a new feature in Carp itself. Otherwise, Carp::Whence or something might seem reasonable to me. On Sat, Mar 5, 2011 at 4:11 AM, Paul LeoNerd Evans wrote: > (To copypaste > http://leonerds-code.blogspot.

Re: best practices for module renaming

2011-02-07 Thread Bill Ward
On Mon, Feb 7, 2011 at 12:48 PM, Dave Rolsky wrote: > On Mon, 7 Feb 2011, Xavier Noria wrote: > > Hi, I am the author of Net::FluidDB, which let's you talk to FluidDB. >> >> FluidDB has been renamed to Fluidinfo, and I should rename the module >> in accordance. Is there a recommended way to do t

Re: Setting an environment variable for tests

2010-12-17 Thread Bill Ward
But the question is having the command be interpreted by make, not by the shell, right? On Fri, Dec 17, 2010 at 11:59 AM, Andrew Savige wrote: > I don't know Module::Install, but a more portable Unix way to write: > > export MATH_ROUND_FAIR_DEBUG=1 > > is: > > MATH_ROUND_FAIR_DEBUG=1;export MAT

Re: Discussion question: what is the best syntax for documenting a coderef parameter?

2010-12-07 Thread Bill Ward
I would have just said $retry and then gone on to document each of the parameters including what type they should be... and of course a "croak XXX unless ref($retry) eq 'CODE'" before doing any real work. On Tue, Dec 7, 2010 at 2:12 PM, David Nicol wrote: > The pod for AnyEvent::Handle contains

Re: What hurts you the most in Perl?

2010-12-01 Thread Bill Ward
On Wed, Dec 1, 2010 at 1:11 PM, Gabor Szabo wrote: > On Wed, Dec 1, 2010 at 6:21 PM, Lyle wrote: > > > > I wasn't *shitting* as you put it, on other peoples work. At least no > more > > so than Bill's original comment about Perl 6. I expressed my opinion only > > and should be free to do so. > >

Re: What hurts you the most in Perl?

2010-11-30 Thread Bill Ward
t; - Another thing that hurts in Perl and which is also a reason why many > programmers don't like Perl is that it is not possible to install an > application to a server by just uploading the files there and give some > permissions, especially if that app uses XS, and not everyone ha

Re: What hurts you the most in Perl?

2010-11-30 Thread Bill Ward
On Tue, Nov 30, 2010 at 5:36 PM, Chris Dolan wrote: > On Nov 29, 2010, at 6:52 PM, Bill Ward wrote: > > What hurts me is that Perl has fallen out of favor so much ... I'm >> contemplating jumping ship myself, and moving to Ruby or Python, not because >> of anything int

Re: What hurts you the most in Perl?

2010-11-29 Thread Bill Ward
What hurts me is that Perl has fallen out of favor so much ... I'm contemplating jumping ship myself, and moving to Ruby or Python, not because of anything intrinsic to the language but just because Perl is going the way of Cobol or Fortran. On Wed, Nov 24, 2010 at 4:01 AM, Gabor Szabo wrote: >

Re: Naming a module: Non bioperl related Taxonomy modules

2010-11-04 Thread Bill Ward
, Bill Ward wrote: > I think if you put it under Bio:: then people will naturally assume that > your modules are bioperl-related. Probably a different top level name is > appropriate, maybe something starting with Bio. > > 2010/11/4 Miguel Pignatelli > > Dear all, >> &g

Re: Naming a module: Non bioperl related Taxonomy modules

2010-11-04 Thread Bill Ward
I think if you put it under Bio:: then people will naturally assume that your modules are bioperl-related. Probably a different top level name is appropriate, maybe something starting with Bio. 2010/11/4 Miguel Pignatelli > Dear all, > > I have written a small set of modules that have in common

Re: Module naming - Test::Import::DontRun

2010-10-07 Thread Bill Ward
On Thu, Oct 7, 2010 at 4:13 PM, Paul Johnson wrote: > On Thu, Oct 07, 2010 at 12:36:41PM +0100, Charles Colbourn wrote: > > > Test::Include::DontRun > > I'll just point out that any name which includes DontRun rather than > Don't::Run has sold its soul and should probably start with > Com::Really

Re: my $self = shift

2010-09-18 Thread Bill Ward
On Sat, Sep 18, 2010 at 3:03 PM, Shawn H Corey wrote: > On 10-09-18 05:05 PM, Bill Ward wrote: > >> If that's your attitude, Perl is probably not the best language for >> you... context is everything in Perl. >> > > Context on the same line is easy to remember.

Re: my $self = shift

2010-09-18 Thread Bill Ward
On Sun, Sep 12, 2010 at 2:10 PM, Shawn H Corey wrote: > On 10-09-12 04:58 PM, Aristotle Pagaltzis wrote: > >> * Shawn H Corey [2010-09-10 14:30]: >> >>> On 10-09-10 03:02 AM, Eric Wilhelm wrote: >>> sub foo { my $self = shift; >>> >>> my $self = shift @_; >>> >>> Always put

Re: Please advise before I submit to CPAN

2010-09-10 Thread Bill Ward
On Fri, Sep 10, 2010 at 1:13 PM, Paul LeoNerd Evans wrote: > On Thu, Sep 09, 2010 at 12:37:43PM -0700, Bill Ward wrote: > > Yes, but doing so is naughty. > > Really? Howso? > > I ask because I do it in a module of mine. > > > http://cpansearch.perl.org/src/PEV

Re: Please advise before I submit to CPAN

2010-09-09 Thread Bill Ward
Yes, but doing so is naughty. On Thu, Sep 9, 2010 at 11:43 AM, David Nicol wrote: > one surprising aspect of perl is that C affects the object, not > the reference, so it is possible to rebless things, which is handy if > you use package-based state machines > > D:\>perl -le "bless $o=[],'abc';p

Re: Storable Stream - Module namespace help

2010-08-09 Thread Bill Ward
Does it actually use the Storable format/algorithm or are you using "storable" in a more generic sense of the word? If the latter, I'd avoid using it in the name of your module to avoid confusion. On Sun, Aug 8, 2010 at 2:58 AM, Marco Neves [ModAuthors] < perl-module-auth...@knowhunter.cjb.net> w

Re: The CPAN Definitive Tags Spec

2010-08-06 Thread Bill Ward
On Fri, Aug 6, 2010 at 1:37 PM, Geoffrey Leach wrote: > On 08/06/2010 10:58:02 AM, Shlomi Fish wrote: > > Hi all! > > > > Today I converted the Definitive Tags list to a POD-based spec. One > > can find > > it inside a Mercurial repository here: > > > > http://bitbucket.org/shlomif/rethinking-cpa

Re: Conditional dependencies

2010-06-29 Thread Bill Ward
http://xkcd.com/754/ On Tue, Jun 29, 2010 at 11:37 AM, Matt Grimm wrote: > What is the conventional wisdom (if any) for handling conditional > dependencies in modules? > > For example, I have a logger class wrapped around Log4perl that > supports screen, email, and syslog appenders, and each app

Re: pause.perl.org: cert expired

2010-05-15 Thread Bill Ward
Maybe "a few days ago" was before the new certificate was installed, and you had told your browser to save the exception for the old one, so you didn't see it before. 2010/5/15 p...@0ne.us > I swear that a few days ago I got on pause to upload a dist and didn't > see that warning then today all

Re: Goodbye Perl6::Say

2010-04-15 Thread Bill Ward
On Thu, Apr 15, 2010 at 1:32 PM, Daniel Staal wrote: > > On Thu, April 15, 2010 4:09 pm, Eric Wilhelm wrote: > > > Honestly, if you're setting up a blank machine next week with less than > > 5.10, not finding Perl6::Say in the index is going to be the least of > > your problems anyway. But you s

Re: Yet another module naming suggestion query

2010-04-12 Thread Bill Ward
On Mon, Apr 12, 2010 at 2:58 PM, Rene Schickbauer < rene.schickba...@gmail.com> wrote: > David Nicol wrote: > > Also, ++ to giving it a "brand name." It sounds kind of cloak-and-dagger, >> like this module spies on the PC where it is installed and sends back >> reports, like a foreign agent. How

Re: Trimming the CPAN

2010-03-25 Thread Bill Ward
Also, see if the list of big files correlates to old versions when there are newer versions available -- one large distro with a huge archive of back versions could easily tip the scales. On Thu, Mar 25, 2010 at 11:47 PM, Gabor Szabo wrote: > Some people are more space conscious than others. > >

Re: how to mv files on PAUSE

2010-02-15 Thread Bill Ward
On Mon, Feb 15, 2010 at 11:50 AM, Bill Weinman wrote: > On 2010-02-15 11:52 AM, Bill Ward wrote: > >> I think you probably should just delete it and re-upload it. >> > > That would have been my inclination -- but apparently it takes three days > to delete a file and i

Re: how to mv files on PAUSE

2010-02-15 Thread Bill Ward
I think you probably should just delete it and re-upload it. On Sun, Feb 14, 2010 at 9:35 PM, Bill Weinman wrote: > Hello all, > > I've searched the mailing list archives and could not find an answer -- > perhaps it can't be done? > > I just uploaded to PAUSE -- this is the first time I've don

Re: Module uploaded - whats next?

2009-12-04 Thread Bill Ward
On Fri, Dec 4, 2009 at 10:41 AM, Arthur Corliss wrote: > On Fri, 4 Dec 2009, Dave Rolsky wrote: > >> The idea that you couldn't learn the basics of Catalyst and get things >> running in the same time seems unlikely. >> >> Also, you haven't factored in all the time it's going to take you to add >>

Re: Problems with Date::Manip

2009-11-24 Thread Bill Ward
I haven't taken a look any deeper than reading this email but the first thing that jumps to mind would be something to do with list vs. scalar context... perhaps the new Date::Manip is returning a list, and you're assigning it to a scalar? On Tue, Nov 24, 2009 at 10:49 AM, Rene Schickbauer < rene.

Re: Weekend entertainment

2009-11-17 Thread Bill Ward
On Tue, Nov 17, 2009 at 5:09 AM, Robin Berjon wrote: > On Nov 15, 2009, at 18:45 , David Golden wrote: > > E.g. from his site today: "You might be a redneck if your Christmas > > ornaments are made out of spent shot-gun shells." > > > (And maybe I'm guilty of stereotyping, but I suspect that Jör

Re: How to best detect availability of C compiler in Makefile.PL?

2009-10-13 Thread Bill Ward
The Template Toolkit handles this with a command line option to Makefile.PL where you can build the toolkit with compiled code if the compiler is available. I don't think it has automatic detection as well, but it might. In any case you might want to consult with the Template Toolkit authors. Thei

Re: Term::Info - takeover

2009-09-24 Thread Bill Ward
I think if you're going to extend the existing module (radically improving it, it sounds like, but keeping backward compatibility) then I'd say follow those instructions to take over the module. But if you're doing something new that doesn't just extend what's already there, it would be better to

Re: Term::Info - takeover

2009-09-24 Thread Bill Ward
Oh, sorry. On Thu, Sep 24, 2009 at 9:18 PM, Fayland Lam wrote: > I think you forget to CC the list. :) > > -- Forwarded message -- > From: Bill Ward > Date: Fri, Sep 25, 2009 at 11:58 AM > Subject: Re: Term::Info - takeover > To: Fayland Lam > > &

Re: how to set $VERSION throughout distribution

2009-09-14 Thread Bill Ward
Subversion is more like mercurial/git in that sense - versions go by changesets rather than individual files. On Sun, Sep 13, 2009 at 6:48 PM, Dana Hudes wrote: > Quite simply you are stuck in the concept of tracking files a la > sccs/rcs/cvs/svn. 3rd generation VCS doesn't track files but rath

Re: gentle nudgings about upgrading your tools

2009-08-28 Thread Bill Ward
On Fri, Aug 28, 2009 at 9:02 AM, Eric Wilhelm wrote: > # from David Cantrell > # on Friday 28 August 2009 04:10: > >>> I guess maybe.  It still seems arbitrary, and my point was that it >>> is a workaround to the fact that it's currently difficult for a >>> module to do "the right thing" to even co

Re: XML::Rules new versions not seen by CPAN shell

2009-08-25 Thread Bill Ward
Do I understand this right? If a tar file contains a directory with permissions 777 - as would be likely to happen if it was made on Windows - then PAUSE rejects it? Why doesn't PAUSE just modify the permissions in the tarfile and publish the resulting file?

Re: Suggested module name

2009-07-10 Thread Bill Ward
That name works for me. I trust you have sub-classes for each OS and/or window manager you support? On Fri, Jul 10, 2009 at 12:18 AM, Ivan Wills wrote: > Hi, > > I have a new module that provides a simple way to run functions when the > screen saver starts/stops (X11 or Gnome Screen saver only

Re: module/script to clean up old files and prune empty directories

2009-07-01 Thread Bill Ward
File::Find can be used to write such a script, but doesn't by itself address this issue. On Tue, Jun 30, 2009 at 6:15 PM, Dana Hudes wrote: > File::Find::Perl > --Original Message-- > From: Jonathan Swartz > To: module-authors@perl.org > Sent: Jun 30, 2009 7:59 PM > Subject: module/scrip

Re: module/script to clean up old files and prune empty directories

2009-06-30 Thread Bill Ward
I want it, whether it is already extant or you write it... On Tue, Jun 30, 2009 at 4:59 PM, Jonathan Swartz wrote: > At various places around our system we want to clean up files older than x, > and sometimes prune empty directories. Naturally we have to be careful doing > this lest we accidenta

Re: lexical warnings question

2009-06-16 Thread Bill Ward
On Tue, Jun 16, 2009 at 4:14 PM, Ovid wrote: > > - Original Message > >> From: Hans Dieter Pearcey >> >> On Tue, Jun 16, 2009 at 02:39:21PM -0700, Bill Ward wrote: >> > So, do I need to monkey with $SIG{__DIE__} or something? >> >> $

Re: lexical warnings question

2009-06-16 Thread Bill Ward
On Tue, Jun 16, 2009 at 3:01 PM, Hans Dieter Pearcey wrote: > On Tue, Jun 16, 2009 at 02:49:36PM -0700, Bill Ward wrote: >> Arg, I meant to say $SIG{__WARN__} when I wrote the original >> message... sorry.  I was hoping to avoid that, since I think we are >> already messing ar

Re: lexical warnings question

2009-06-16 Thread Bill Ward
On Tue, Jun 16, 2009 at 2:43 PM, Hans Dieter Pearcey wrote: > On Tue, Jun 16, 2009 at 02:39:21PM -0700, Bill Ward wrote: >> So, do I need to monkey with $SIG{__DIE__} or something? > > $SIG{__WARN__} = sub { die @_ }; > > Apply more advanced filtering to @_ as desired. Arg

lexical warnings question

2009-06-16 Thread Bill Ward
In the perllexwarn man page, it states that "the scope of the warning pragma is limited to the enclosing block. It also means that the pragma setting will not leak across files (via use, require or do). This allows authors to independently define the degree of warning checks that will be applied to

Re: Module::Build + documenation woes

2009-06-11 Thread Bill Ward
On Thu, Jun 11, 2009 at 3:46 AM, Ovid wrote: > > What would be nice if if the main documentation ( > http://search.cpan.org/dist/Module-Build/lib/Module/Build.pm) had, right > at the top, sample Build.PL code in the synopsis. After that, maybe a few > "optional" configurations or "recommended" Bu

Re: Process for Removing a Module from CPAN

2009-05-27 Thread Bill Ward
2009/5/27 Steffen Schwigon > Burak Gürsoy writes: > >> -Original Message- > >> From: Steffen Schwigon [mailto:s...@renormalist.net] > >> Sent: Tuesday, May 26, 2009 1:25 AM > >> To: Jonathan Yu > >> Cc: module-authors@perl.org > >> Subject: Re: Process for Removing a Module from CPAN > >

Re: Process for Removing Qt Module from CPAN

2009-05-26 Thread Bill Ward
On Tue, May 26, 2009 at 2:59 PM, Hans Dieter Pearcey < hdp.perl.module-auth...@weftsoar.net> wrote: > On Tue, May 26, 2009 at 05:56:10PM -0400, Daniel Staal wrote: > > --As of May 26, 2009 12:33:08 PM -0700, Bill Ward is alleged to have > said: > > > >> How wo

Re: Process for Removing Qt Module from CPAN

2009-05-26 Thread Bill Ward
On Tue, May 26, 2009 at 12:27 PM, Shlomi Fish wrote: > On Tuesday 26 May 2009 21:22:33 Jonathan Yu wrote: > > my $bar = $foo->new(); > > > > Which would create a $bar of the same type as $foo. You lose this by > > dropping the ->new part. > > Actually, Randal Schwartz recommends (and I agree with

Re: Process for Removing Qt Module from CPAN

2009-05-26 Thread Bill Ward
It also makes it easier to inherit the constructor when subclassing the module. I would suggest that Perl modules should be done the Perl way, rather than by importing ideas from other languages. On Tue, May 26, 2009 at 11:22 AM, Jonathan Yu wrote: > Chris: > > I'm not sure if that's the most de

Re: Process for Removing Qt Module from CPAN

2009-05-26 Thread Bill Ward
There's already a feature where if you try to load a perl module with a number, it checks the version of the module that's installed. Even if you are trying to cheat around that by using quotes, it would be confusing to potential users. I would suggest using a more stringish string like use Qt (

Re: Help needed testing security of login module

2009-05-20 Thread Bill Ward
ot, say, the binary files stored on your > server in the passworded area that they want to get to. > > Never hurts to fix those things, really. It doesn't negatively impact > performance in a noticeable way, and the security benefits > dramatically outweigh the costs. > > C

Re: Help needed testing security of login module

2009-05-20 Thread Bill Ward
On Wed, May 20, 2009 at 2:55 PM, Jonathan Yu wrote: > Bill: > > To clarify why a salt is necessary, consider the classic time-space > tradeoff. Let's say I know that your password is exactly 8 characters > long and I know all of the possible characters it could be. So let's > say it's alphanumeric

Re: Help needed testing security of login module

2009-05-20 Thread Bill Ward
On Wed, May 20, 2009 at 2:39 PM, Jonathan Yu wrote: > Hi: > > Well, some things I can think of are: > > 1. Use SHA-256 instead of MD5. Even SHA-1 is thought to be possibly > weak, and there have been collisions detected against MD5, worse for > MD's predecessors like MD4. If not SHA, then there ar

Help needed testing security of login module

2009-05-20 Thread Bill Ward
Over the years I've developed my own private Perl web login module. It takes a username or email address and password, checks it against the database, and creates the cookies. It has a 'forgot my password' option which is reasonably secure (of course it assumes that the email address of record is

Re: Help Needed in Sorting and Updating the List of Perl Mailing Lists

2009-05-11 Thread Bill Ward
On Mon, May 11, 2009 at 3:47 PM, Elaine Ashton wrote: > > On May 11, 2009, at 6:37 PM, David Golden wrote: > >> >> I don't object to you being busy -- it happens to all of us -- but >> blaming others for not trying hard enough is absurd. >> > > You probably aren't in the middle of a trans-con mov

Re: Arguments checker module

2009-05-06 Thread Bill Ward
On Wed, May 6, 2009 at 3:54 PM, Paul LeoNerd Evans wrote: > On Wed, 6 May 2009 11:27:05 -0700 > Bill Ward wrote: > > > (Perl's approximation of) OO > > I've often seen this one bandied about, and I can't say I agree with it. > Neither do I, but I threw the

Re: Arguments checker module

2009-05-06 Thread Bill Ward
On Wed, May 6, 2009 at 10:42 AM, Jonathan Leto wrote: > Howdy, > > > Thanks guys for sticking up for me. I am just old-fashioned, I guess; > for > > better or for worse, I'm not interested in changing/fixing Perl itself, > just > > in finding & writing reusable code that meets my needs without a

Re: Arguments checker module

2009-05-06 Thread Bill Ward
On Wed, May 6, 2009 at 6:38 AM, Hans Dieter Pearcey < hdp.perl.module-auth...@weftsoar.net> wrote: > On Wed, May 06, 2009 at 07:10:49AM -0400, David Golden wrote: > > I don't think he deserves public scorn in response to a reasonable > > question and reasonable objections to suggestions. > > I agr

Re: Arguments checker module

2009-05-06 Thread Bill Ward
On Tue, May 5, 2009 at 11:48 PM, breno wrote: > On Wed, May 6, 2009 at 2:59 AM, Bill Ward wrote: > > Do you mean Parse::Method::Signatures ? > > > > No, I mean http://search.cpan.org/perldoc?Method::Signatures > http://www.slideshare.net/schwern/methodsignatures-pr

Re: Arguments checker module

2009-05-05 Thread Bill Ward
Do you mean Parse::Method::Signatures ? On Tue, May 5, 2009 at 10:54 PM, breno wrote: > On Wed, May 6, 2009 at 12:04 AM, Bill Ward wrote: > > > > Params::Validate has the right features, but I really don't like the > > verbosity of its configuration. I was hoping f

Re: Arguments checker module

2009-05-05 Thread Bill Ward
On Tue, May 5, 2009 at 8:27 PM, Hans Dieter Pearcey < hdp.perl.module-auth...@weftsoar.net> wrote: > On Tue, May 05, 2009 at 08:04:35PM -0700, Bill Ward wrote: > > I'm not interested in being locked-in to a framework like Moose, so I > won't > > even consider t

Re: Arguments checker module

2009-05-05 Thread Bill Ward
On Tue, May 5, 2009 at 7:55 PM, Dave Rolsky wrote: > On Tue, 5 May 2009, Bill Ward wrote: > > I'm often having to add a half dozen lines of code to every subroutine to >> perform argument validation and I'd like to offload it once and for all >> into >>

Re: Arguments checker module

2009-05-05 Thread Bill Ward
On Tue, May 5, 2009 at 7:55 PM, Hans Dieter Pearcey < hdp.perl.module-auth...@weftsoar.net> wrote: > On Tue, May 05, 2009 at 07:51:09PM -0700, Bill Ward wrote: > > I'm often having to add a half dozen lines of code to every subroutine to > > perform argument validation

Arguments checker module

2009-05-05 Thread Bill Ward
Is anyone aware of any modules that will check subroutine arguments? I can think of two similar features of Perl, but neither is quite right: 1. Prototypes (perlsyn) - put something like ($$@) after your subroutine declaration - but doesn't work for object methods and a few other cases. Plus, doe

Re: Dual-Build Modules (What to do if both Makefile.PL and Build.PL exist)

2009-05-05 Thread Bill Ward
The way I've interpreted that in my own auto-build scripting is that if Build.PL exists, the module author is probably a Module::Build user who is only providing a Makefile.PL grudgingly for the sake of those who haven't installed Module::Build, and thus I figure that if there's any difference betw

Re: Puzzling error from cpan testers

2009-05-05 Thread Bill Ward
Thanks David. This is a nice module, but overkill for my needs and I'd rather not make people install more CPAN modules than they have to. Looks like the key thing is this line: $ok = abs($p - $q) < $epsilon; I'll incorporate that bit into my test suite for Number::Format. On Tue, May

Re: Puzzling error from cpan testers

2009-05-05 Thread Bill Ward
On Tue, May 5, 2009 at 6:02 AM, David Cantrell wrote: > On Sun, May 03, 2009 at 12:23:27PM -0700, Bill Ward wrote: > > On Sun, May 3, 2009 at 12:18 PM, Andy Armstrong wrote: > > > On 3 May 2009, at 20:07, Bill Ward wrote: > > >> For my module Number::Format I am

Re: Puzzling error from cpan testers

2009-05-03 Thread Bill Ward
On Sun, May 3, 2009 at 12:18 PM, Andy Armstrong wrote: > On 3 May 2009, at 20:07, Bill Ward wrote: > >> For my module Number::Format I am getting a strange result from cpan >> testers that I can't replicate. See this error report... >> http://www.nntp.perl.org/gr

Puzzling error from cpan testers

2009-05-03 Thread Bill Ward
For my module Number::Format I am getting a strange result from cpan testers that I can't replicate. See this error report... http://www.nntp.perl.org/group/perl.cpan.testers/2009/03/msg3560533.html # Failed test 'pi with precision=6' # at t/round.t line 18. # got: 3.141593 # exp

Re: Configuration files and ExtUtils::MakeMaker

2009-04-28 Thread Bill Ward
For this kind of thing I usually copy the Config.pm generated by Perl or the CPAN::Config module -- create a MyModule::Config file that defines a hash %MyModule::Config with all my stuff in it. The script can then just "use MyModule::Config" and off you go. On Tue, Apr 28, 2009 at 3:52 PM, Bill M

Re: Naming advice for retry manager module

2009-04-21 Thread Bill Ward
module description thoroughly but > it deals with doing retries in a way that doesn't totally hammer a > system and bring it to its knees. > > Cheers, > > Jonathan > > On Tue, Apr 21, 2009 at 4:11 PM, Bill Ward wrote: >> I am planning to write a new module that w

Re: Naming advice for retry manager module

2009-04-21 Thread Bill Ward
On Tue, Apr 21, 2009 at 3:12 PM, David Nicol wrote: > On Tue, Apr 21, 2009 at 3:11 PM, Bill Ward wrote: >> Something like Object::Retry maybe?  Then things can inherit from it? > > The proposed module sounds more like a has-a than an is-a.  Or maybe > just a new method that wou

Naming advice for retry manager module

2009-04-21 Thread Bill Ward
I am planning to write a new module that would manage retries. Let's say you want to talk to some network service that might have errors or be offline, and if you get certain kinds of errors (e.g. the host is being rebooted, so it's not responding, but will shortly) you want to try again after som

Re: "a lot of controversy" about Module::Build

2009-04-09 Thread Bill Ward
On Thu, Apr 9, 2009 at 12:10 PM, Jonathan Rockway wrote: > * On Thu, Apr 09 2009, Bill Ward wrote: > > On Thu, Apr 9, 2009 at 11:26 AM, Jonathan Rockway wrote: > > > > Most people I know compile one perl for each of their applications. > The > > OS perl is

Re: "a lot of controversy" about Module::Build

2009-04-09 Thread Bill Ward
On Thu, Apr 9, 2009 at 11:26 AM, Jonathan Rockway wrote: > > Most people I know compile one perl for each of their applications. The > OS perl is for the OS, not for you. (OK, and packages the OS installs. > Basically, if you plan on modifying anything perl touches in any way, > you want your o

Re: RFC: Yet Another Excel Writer..

2009-04-08 Thread Bill Ward
On Wed, Apr 1, 2009 at 1:36 AM, sawyer x wrote: > Sounds like a good module to me. I know I could have used it a few weeks > ago. > > > If so, is this set of modules aptly named? > > - Does it use a standard CPAN module for email sending? > - What does it use for formating to web? > > If it's a s

Re: "a lot of controversy" about Module::Build

2009-04-08 Thread Bill Ward
On Wed, Apr 8, 2009 at 1:05 PM, Hans Dieter Pearcey < hdp.perl.module-auth...@weftsoar.net> wrote: > On Wed, Apr 08, 2009 at 10:55:44PM +0300, Burak Gürsoy wrote: > > I think M::B has a clean and understandable interface while EU::MM is > > archaic (yes I know I didn't say something new). > > Any

Re: "a lot of controversy" about Module::Build

2009-04-08 Thread Bill Ward
On Wed, Apr 8, 2009 at 12:26 PM, Eric Wilhelm wrote: > # from David Cantrell > # on Wednesday 08 April 2009 12:06: > >> As I've said before, this is silly.  It's a tool, so either it works >> or >> >>> it doesn't.  We can't really have "controversy" about whether it >>> works or how it works. >> >

Re: Module name suggestions? - automatic per-OS subclass

2009-03-26 Thread Bill Ward
On Thu, Mar 26, 2009 at 6:51 AM, David Cantrell wrote: > On Wed, Mar 25, 2009 at 05:57:45PM -0700, Bill Ward wrote: > > > As for where to put it, the way this would be useful to me would not be > as > > any sort of object (which rules out Class::) but as a sort of assertion

Re: Module name suggestions? - automatic per-OS subclass

2009-03-25 Thread Bill Ward
On Tue, Mar 24, 2009 at 3:30 AM, Paul LeoNerd Evans wrote: > I find a number of times, that I've wanted to make some code that > certain OSes would have better implementations of than others, or just > plain implement in a different way. > I'm not really liking any of the names that have been pro

  1   2   >