Need naming advice

2007-06-21 Thread Bill Ward
I have this module I wrote years ago and have been using forever in my own projects and I want to share it with the world. But I can't make up my mind what to call the durn thing. i want to get it on CPAN so I can more easily reuse it in various apps, instead of just manually putting it

WordPress module?

2007-06-21 Thread Bill Ward
Does anyone know of a Perl module that talks to a WordPress database? I'm thinking of writing one but prefer to avoid wheel reinvention. -- Help bring back the San Jose Earthquakes - http://www.soccersiliconvalley.com/

Re: Module name advice: Mobile::P2kMoto

2007-06-24 Thread Bill Ward
Why not Mobile::Moto4Lin to match the library? On 6/24/07, Mattia Barbon [EMAIL PROTECTED] wrote: Hi, I am making the wrappers for the p2kmoto library (http://moto4lin.sf.net); despite the name, the library should work on Win32 and Mac too. Looking on search.cpan.org, it seems that Phone

Re: WordPress module?

2007-06-25 Thread Bill Ward
On 6/25/07, Andy Armstrong [EMAIL PROTECTED] wrote: On 21 Jun 2007, at 19:54, Bill Ward wrote: Does anyone know of a Perl module that talks to a WordPress database? I'm thinking of writing one but prefer to avoid wheel reinvention. I imagine it'd be better to talk to Wordpress's XMLRPC

Re: Need naming advice

2007-06-25 Thread Bill Ward
On 6/22/07, David Precious [EMAIL PROTECTED] wrote: Bill Ward wrote: I have this module I wrote years ago and have been using forever in my own projects and I want to share it with the world. But I can't make up my mind what to call the durn thing. [...] It provides a generic user account

Re: Need naming advice

2007-06-26 Thread Bill Ward
Single Sign-On? Not quite sure what that would mean in this context...? On 6/26/07, David Nicol [EMAIL PROTECTED] wrote: does it do SSO? It provides a generic user account management system, with features such as: [...] -- Help bring back the San Jose Earthquakes -

Re: Module Name Proposal - Text::Report

2007-06-28 Thread Bill Ward
Interesting module. I think the name may be a little too generic but I can't think of a better one. As for paginating, you could always feed the output of your module through format/write and let it handle the paginating :-) Oh, I'm not thrilled about the namingConvention you use for arguments

Re: Name for EscapeCage

2007-06-29 Thread Bill Ward
On 6/29/07, A. Pagaltzis [EMAIL PROTECTED] wrote: * David Nicol [EMAIL PROTECTED] [2007-06-29 18:20]: String::Sandbox ?? That's pretty good. No a sandbox is where you have a practice area where changes made have no lasting impact. For example ebay and paypal have sandbox areas where you

Re: Name for EscapeCage

2007-06-29 Thread Bill Ward
On 6/29/07, David Nicol [EMAIL PROTECTED] wrote: On 6/29/07, Bill Ward [EMAIL PROTECTED] wrote: No a sandbox is where you have a practice area where changes made have no lasting impact. For example ebay and paypal have sandbox areas where you can experiment with applications that use those

Re: Name for EscapeCage

2007-06-30 Thread Bill Ward
On 6/30/07, David Nicol [EMAIL PROTECTED] wrote: On 6/30/07, Eric Wilhelm [EMAIL PROTECTED] wrote: A dangerous animal in a sandbox will probably get out. so the most standard term i believe is jail So String::Jail then? I think I like that. -- Help bring back the San Jose Earthquakes -

Re: CPAN naming advice for a SlimServer interface

2007-07-11 Thread Bill Ward
The trouble with trademarks - do you use the company name (Slim), the service name (SlimServer), or the product (Squeezebox)? I think people are most likely to search for Squeezebox on CPAN so I would go with Net::Squeezebox. But then next month they'll change their product naming strategy and

Re: Module Proposal: Package::Data::Inheritable

2007-09-04 Thread Bill Ward
On 9/4/07, Giacomo Cerrai [EMAIL PROTECTED] wrote: A typical case I feel the need for that is when you have a hierarchy of classes where you deal with a lot of data fields and you name them with class data members: our FIELDNAME1 = 'field1'; our FIELDNAME2 = 'field2'; ...

Re: Module Proposal: Package::Data::Inheritable

2007-09-05 Thread Bill Ward
On 9/5/07, Giacomo Cerrai [EMAIL PROTECTED] wrote: The set of fields a statement works on is not always the same. Notice that the fields passed to foo() and the fields used in the foreach are different. Actually in your case I would probably suggest using constants. use const PI = 3.14159;

Re: naming advice - Tk::RRGauge

2007-09-05 Thread Bill Ward
On 9/5/07, Jerome Quelin [EMAIL PROTECTED] wrote: hi there, i wrote a tk module providing a new widget, based on a canvas. it's basically a gauge, but the kind of gauge where the current value always stays in the middle. [...] Sounds like a very nifty gauge! because of this behaviour, i

Re: Module Proposal: Log::Any

2007-09-07 Thread Bill Ward
I like the concept of this, but I think to be successfull you need buy-in from the various log package authors as well as more than a few core module authors. The name Log::Any sounds as good as any (har har) but in this case, I think naming is the least of your worries. On 9/6/07, [EMAIL

Re: Module Proposal: Log::Any

2007-09-07 Thread Bill Ward
on here: http://use.perl.org/~jonswar/journal/34366 and the name Log::Abstract was suggested, which I like a lot more, so I'm leaning towards that now. Thanks for your feedback, Jon On Sep 7, 2007, at 10:27 AM, Bill Ward wrote: I like the concept of this, but I think to be successfull

Re: Module Proposal: Log::Any

2007-09-08 Thread Bill Ward
On 9/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So I guess what I'm saying is that the final thing that would stop me from using Log::Any everywhere (meaning also in performance-critical code) is the overhead for the common (production) case of logging being entirely disabled. How

Re: RFC: relative.pm

2007-10-06 Thread Bill Ward
On 10/6/07, Andy Armstrong [EMAIL PROTECTED] wrote: On 6 Oct 2007, at 11:46, Sébastien Aperghis-Tramoni wrote: Would it also do use relative [to = 'My::Big::Namespace'] = qw( This That Munger::Fast Munger::Precise ); It can easily do that. The problem is more the name. In this case,

Re: RFC: relative.pm

2007-10-06 Thread Bill Ward
On 10/6/07, David Cantrell [EMAIL PROTECTED] wrote: Sébastien Aperghis-Tramoni wrote: Also agreeing for the API change. I know I was pondering about using .. but can't remember why I didn't. '..' is only meaningful in the Unix/Win32 world. VMS, RISC OS and others call it something else.

Re: lambda - a shortcut for sub {...}

2007-10-12 Thread Bill Ward
On 10/11/07, A. Pagaltzis [EMAIL PROTECTED] wrote: * Eric Wilhelm [EMAIL PROTECTED] [2007-10-11 01:05]: http://search.cpan.org/~ewilhelm/lambda-v0.0.1/lib/lambda.pm If I saw this in production code under my responsibility, I'd submit it to DailyWTF. However, I have nothing against its use

Re: Spanish fiscal identifier validator

2007-10-13 Thread Bill Ward
While technically true, I don't think this information is very useful. While it is possible to click full headers in Yahoo mail, this is a feature very few people know about these days. Mailing list software has failed to keep up with modern MUA standards. There was a time when MUAs would show

Re: RFC: String::Smart

2007-10-13 Thread Bill Ward
On 10/10/07, Andy Armstrong [EMAIL PROTECTED] wrote: Here's something I've been mulling for probably about eight years without doing anything about it. Particularly in web applications - but in other areas too - people regularly make a complete mess of escaping / unescaping strings. [...]

Re: With the Macrame macro system, Perl may now be a Lisp.

2007-12-06 Thread Bill Ward
Cute experiment, but I REALLY hope nobody tries releasing useful modules to CPAN that depend on this... On Nov 29, 2007 9:51 PM, David Nicol [EMAIL PROTECTED] wrote: Macrame 0.08 finally passes a variety of tests and has been uploaded. Please harangue it via rt.cpan.org.

Re: With the Macrame macro system, Perl may now be a Lisp.

2007-12-07 Thread Bill Ward
On Dec 6, 2007 7:22 PM, Eric Wilhelm [EMAIL PROTECTED] wrote: # from Bill Ward # on Thursday 06 December 2007 16:23: Cute experiment, but I REALLY hope nobody tries releasing useful modules to CPAN that depend on this... Cute comment, but I really hope nobody puts any stock in it. What

Re: uniform version numbers for CPAN modules

2008-03-03 Thread Bill Ward
On Mon, Mar 3, 2008 at 11:22 AM, Andy Lester [EMAIL PROTECTED] wrote: On Mar 3, 2008, at 1:20 PM, Eric Wilhelm wrote: Are there any compelling reasons to keep allowing any type of version numbers? I suspect that the amount of time saved by any benefits from standardized version numbers

Re: uniform version numbers for CPAN modules

2008-03-03 Thread Bill Ward
On Mon, Mar 3, 2008 at 12:35 PM, Andy Lester [EMAIL PROTECTED] wrote: On Mar 3, 2008, at 2:34 PM, Bill Ward wrote: Then don't try to have just one standard. Perl is smart enough to understand multiple standards. Just document what those are and provide some means of describing how

Re: New module idea for intranet location of ipaddresses

2008-03-07 Thread Bill Ward
On Fri, Mar 7, 2008 at 9:18 AM, Andrew Stringer [EMAIL PROTECTED] wrote: I am not sure how an external config file fits with a perl module though. Should a module be entirely self contained? Well, one way is to do the way Perl itself (Config.pm) and CPAN.pm do it - store the configuration in

Naming help - XML plist (Apple/Mac/iTunes)

2008-06-13 Thread Bill Ward
I'm moving my photos from iPhoto on a Mac laptop to a Linux server with digiKam, and want to preserve all the photo albums I'd created in iPhoto. I did a bunch of googling around, and found two things: 1. Mac::iPhoto - which is apparently out of date, and doesn't work with current versions of

Re: Naming help - XML plist (Apple/Mac/iTunes)

2008-06-14 Thread Bill Ward
On Sat, Jun 14, 2008 at 7:41 AM, Daniel Staal [EMAIL PROTECTED] wrote: --As of June 13, 2008 8:35:36 PM -0500, Chris Dolan is alleged to have said: Note that plists can also be stored in a binary format; would you want to support that also? If so, how about Parse::ApplePlist? I don't know

Re: VERSION and VCS

2008-07-11 Thread Bill Ward
On Wed, Jul 9, 2008 at 8:09 AM, Johan Vromans [EMAIL PROTECTED] wrote: The CPAN indexer requires perl modules (and sub-modules) to have a non-descending VERSION number. RCS/CVS $Revision$ has been invaluable for that. Not really. If you use RCS/CVS numbers, then you have several problems: 1.

Re: Exporter::Safe?

2008-07-18 Thread Bill Ward
Sorry for replying to an old thread... but I was catching up on old email. It occurs to me that if we had the behavior that OO method calling would reject any imported modules, wouldn't that solve the problem? I can't think of any reason you would want to use an imported subroutine as an object

Re: Exporter::Safe?

2008-07-18 Thread Bill Ward
On Fri, Jul 18, 2008 at 8:04 PM, Jonathan Rockway [EMAIL PROTECTED] wrote: * On Fri, Jul 18 2008, Bill Ward wrote: It occurs to me that if we had the behavior that OO method calling would reject any imported modules, wouldn't that solve the problem? How do you tell what an imported subroutine

Re: Exporter::Safe?

2008-07-21 Thread Bill Ward
On Mon, Jul 21, 2008 at 12:12 AM, Ovid [EMAIL PROTECTED] wrote: --- On Sat, 19/7/08, Bill Ward [EMAIL PROTECTED] wrote: I can't think of any reason you would want to use an imported subroutine as an object method. Class::Trait Moose::Role mixin I've never used any of those

Need help improving my Kwalitee

2008-07-21 Thread Bill Ward
My module Number::Format has some red areas in its Kwalitee report http://cpants.perl.org/dist/kwalitee/Number-Format When I release 1.60, I tried to fix a lot of the kwalitee issues with the previous version, 1.52. However, it appears that some of my fixes didn't work. For example, my META.yml

Re: Need help improving my Kwalitee

2008-07-21 Thread Bill Ward
On Mon, Jul 21, 2008 at 3:56 PM, Thomas Klausner [EMAIL PROTECTED] wrote: Hi! On Mon, Jul 21, 2008 at 02:57:20PM -0700, Bill Ward wrote: My module Number::Format has some red areas in its Kwalitee report http://cpants.perl.org/dist/kwalitee/Number-Format When I release 1.60, I tried to fix

Re: Need help improving my Kwalitee

2008-07-23 Thread Bill Ward
On Wed, Jul 23, 2008 at 4:28 AM, Burak Gürsoy [EMAIL PROTECTED] wrote: I'm not interested in Module::Build. I've checked your Makefile.PL and you're not doing anything special with it (like subclassing or XS stuff, etc.), so it'll be straight forward to add Module::Build support to your

Re: Need help improving my Kwalitee

2008-07-23 Thread Bill Ward
On Wed, Jul 23, 2008 at 1:06 PM, Steffen Schwigon [EMAIL PROTECTED] wrote: Bill Ward [EMAIL PROTECTED] writes: But to my mind, the may problem with M::B is that it's moving away from the traditional Unix concept of using make to install things. A lot of Perl is about platform-independence

Re: Need help improving my Kwalitee

2008-07-23 Thread Bill Ward
On Wed, Jul 23, 2008 at 2:09 PM, David Cantrell [EMAIL PROTECTED] wrote: Even if you only care about Unix-a-likes, you still need to remember that GNU make, Sun make, SGI make, etc are only partially compatible. Then consider that GNU software tends to break in stupid ways from one release to

Re: IO::Prompt suggestion

2008-09-10 Thread Bill Ward
On Wed, Sep 10, 2008 at 3:28 AM, David Precious [EMAIL PROTECTED] wrote: The IO::Prompt::ReturnVal object should stringify to the value provided. Yes, it does, with a use overload argument: q{} = sub { $_[0]{handled} = 1; $_[0]{value}; }, However, if you create a method as_string and

The problem with auto-installing dependencies

2008-09-30 Thread Bill Ward
Since anyone can upload code to CPAN, not all modules are of the same high quality as others. I feel it is very important to vet each and every module that I install. But with the auto-install behavior, modules that I want to install may have dependencies on other modules that I don't feel

Re: The problem with auto-installing dependencies

2008-09-30 Thread Bill Ward
On Tue, Sep 30, 2008 at 12:46 PM, Ricardo SIGNES [EMAIL PROTECTED] wrote: * Bill Ward [EMAIL PROTECTED] [2008-09-30T15:12:22] Since anyone can upload code to CPAN, not all modules are of the same high quality as others. I feel it is very important to vet each and every module that I

Re: Getting co-maint for new modules in a package

2008-10-11 Thread Bill Ward
Everybody's a critic... (sorry, couldn't resist) On Sat, Oct 11, 2008 at 1:49 PM, Chris Dolan [EMAIL PROTECTED] wrote: The Perl::Critic team has a small but persistent problem with PAUSE. We frequently add new policy modules to the distro. When we do so, the person who does the release

Re: Integrating license related things of CPAN

2008-10-23 Thread Bill Ward
The META.yml thing is nice but you can't make it required yet. The recommended version of Perl for production use is 5.8.8. The version of ExtUtils::MakeMaker included in 5.8.8 distributions does not support the license field. Supporting it is nice, but you'll have to wait until 5.10 is more

Re: Integrating license related things of CPAN

2008-10-23 Thread Bill Ward
On Thu, Oct 23, 2008 at 1:49 PM, Ricardo SIGNES [EMAIL PROTECTED] wrote: * Bill Ward [EMAIL PROTECTED] [2008-10-23T15:20:00] The META.yml thing is nice but you can't make it required yet. The recommended version of Perl for production use is 5.8.8. The version of ExtUtils::MakeMaker

Re: Integrating license related things of CPAN

2008-10-23 Thread Bill Ward
On Thu, Oct 23, 2008 at 4:18 PM, Ricardo SIGNES [EMAIL PROTECTED] wrote: * Bill Ward [EMAIL PROTECTED] [2008-10-23T17:11:09] On Thu, Oct 23, 2008 at 1:49 PM, Ricardo SIGNES Gabor is not suggesting that it be required to upload to PAUSE, but that it be required to 'make dist

Re: Integrating license related things of CPAN

2008-10-24 Thread Bill Ward
On Fri, Oct 24, 2008 at 4:01 AM, Alexandr Ciornii [EMAIL PROTECTED]wrote: Bill Ward wrote: The META.yml thing is nice but you can't make it required yet. The recommended version of Perl for production use is 5.8.8. It is 5.10 now (for a half year or so). Not according to perl.com (http

Re: Integrating license related things of CPAN

2008-10-26 Thread Bill Ward
On Sat, Oct 25, 2008 at 11:08 PM, Jonathan Rockway [EMAIL PROTECTED] wrote: * On Thu, Oct 23 2008, Bill Ward wrote: Perhaps when you upload to PAUSE without a license in META.yml it could actually replace the META.yml with one that has a license, based in input from an HTML form? Would

Re: Integrating license related things of CPAN

2008-10-26 Thread Bill Ward
On Sun, Oct 26, 2008 at 7:00 PM, Ken Williams [EMAIL PROTECTED] wrote: On Sun, Oct 26, 2008 at 1:38 AM, Bill Ward [EMAIL PROTECTED] wrote: Another good point. One could put GPL in the META.yml but have a LICENSE section in the POD that says same terms as Perl itself -- which one wins

Re: Integrating license related things of CPAN

2008-10-29 Thread Bill Ward
On Wed, Oct 29, 2008 at 9:13 PM, Ken Williams [EMAIL PROTECTED] wrote: On Mon, Oct 27, 2008 at 11:17 AM, David Cantrell [EMAIL PROTECTED] wrote: So, in summary, here's my objections to the current 'license' field in META.yml: * poorly documented; * limited range of options for licences; *

Re: Integrating license related things of CPAN

2008-10-31 Thread Bill Ward
On Fri, Oct 31, 2008 at 5:23 AM, David Cantrell [EMAIL PROTECTED] wrote: On Fri, Oct 31, 2008 at 11:36:08AM +0200, Shlomi Fish wrote: On Thursday 30 October 2008, David Cantrell wrote: That's the bit where I suggest instead of saying, eg, frobnitz to mean the Frobnitz licence you say

Re: Perl 5.10 and module install location

2008-11-05 Thread Bill Ward
On Wed, Nov 5, 2008 at 9:16 AM, Eric Wilhelm [EMAIL PROTECTED] wrote: # from Bill Moseley # on Wednesday 05 November 2008: Seems a lot of pure-perl modules were installed in: /usr/local/share/perl/5.8.8 ... so many modules are not found after upgrading since 5.8.8 in not in @INC in 5.10.0.

Number::Format and locale woes

2009-01-26 Thread Bill Ward
WHEREAS, Number::Format uses POSIX for locale stuff, and WHEREAS, locale is b0rked on so many systems out there, and WHEREAS, Number::Format is constantly getting barraged by bug complaints and CPAN build failure emails, and WHEREAS, I'm getting tired of the above and can't do much about it,

Re: RFC: String::Tagged

2009-01-29 Thread Bill Ward
Why just strings? Why not scalars? On Thu, Jan 29, 2009 at 4:52 PM, Paul LeoNerd Evans leon...@leonerd.org.uk wrote: I find myself requiring an object to store a text string, with ways to throw markup or presentation attributes around it, but in such a way that they're easy to edit and change

Re: RFC: String::Tagged

2009-01-30 Thread Bill Ward
On Fri, Jan 30, 2009 at 2:32 AM, Paul LeoNerd Evans leon...@leonerd.org.uk wrote: On Thu, 29 Jan 2009 16:57:42 -0800 Bill Ward b...@wards.net wrote: Why just strings? Why not scalars? Because only strings have character positions. Perhaps the description isn't clear enough - the string

Re: RFC: String::Tagged

2009-01-30 Thread Bill Ward
On Fri, Jan 30, 2009 at 10:07 AM, Paul LeoNerd Evans leon...@leonerd.org.uk wrote: On Fri, Jan 30, 2009 at 09:15:35AM -0600, Jonathan Rockway wrote: * On Fri, Jan 30 2009, Bill Ward wrote: I agree here. There is prior art for calling these overlays: http://www.gnu.org/software/emacs/elisp

Re: RFC: String::Tagged

2009-01-30 Thread Bill Ward
On Fri, Jan 30, 2009 at 12:45 PM, Paul LeoNerd Evans leon...@leonerd.org.uk wrote: On Fri, Jan 30, 2009 at 10:11:33AM -0800, Bill Ward wrote: String::Overlay String::Overlaid String::Overlays I think Overlain may be more grammatical than Overlaid Overlaid, Overlain... One of those

Re: RFC: String::Tagged

2009-01-30 Thread Bill Ward
On Fri, Jan 30, 2009 at 2:04 PM, David Nicol davidni...@gmail.com wrote: On Fri, Jan 30, 2009 at 2:46 PM, Paul LeoNerd Evans leon...@leonerd.org.uk wrote: On Fri, Jan 30, 2009 at 02:00:13PM -0600, David Nicol wrote: there is also intersection with the concept of ropes rather than strings as I

Re: RFC: String::Tagged

2009-01-30 Thread Bill Ward
On Fri, Jan 30, 2009 at 2:07 PM, Bill Ward b...@wards.net wrote: On Fri, Jan 30, 2009 at 2:04 PM, David Nicol davidni...@gmail.com wrote: On Fri, Jan 30, 2009 at 2:46 PM, Paul LeoNerd Evans leon...@leonerd.org.uk wrote: On Fri, Jan 30, 2009 at 02:00:13PM -0600, David Nicol wrote

Re: Name for barcode-reading module?

2009-02-11 Thread Bill Ward
As the author of Barcode::Code128 (though I haven't done anything with barcodes in many years) I don't see anything wrong with the Barcode namespace. I think it predates the others, but I'm too lazy to dig up the dates on each. Anyway, I think filing it under Business is silly, since there are

Re: autoabbrev algorithm from Getopt::Long

2009-02-13 Thread Bill Ward
On Fri, Feb 13, 2009 at 6:22 AM, Darren Chamberlain d...@sevenroot.orgwrote: On Fri, Feb 13, 2009 at 09:05, Johan Vromans jvrom...@squirrel.nl 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,

Module::Build equivalent to MakeMaker's LIB= argument?

2009-02-13 Thread Bill Ward
I'm building a tech stack - that is, downloading CPAN modules and installing them in a new directory, not the one that Perl lives in. Until now, all the modules I build are MakeMaker-based, but I've just started adding a new Module::Build-based module (Net::OAuth, in case you're curious) and am

Re: Module::Build equivalent to MakeMaker's LIB= argument?

2009-02-13 Thread Bill Ward
On Fri, Feb 13, 2009 at 12:40 PM, Eric Wilhelm scratchcomput...@gmail.comwrote: # from Bill Ward # on Friday 13 February 2009 12:22: it can't find Module::Build! I suppose I could use perl -I or PERL5LIB to specify the path, but I was looking for something analagous to the LIB= argument

Fwd: Delivery Status Notification (Failure)

2009-02-13 Thread Bill Ward
::Detoxifier From: Bill Ward b...@wards.net To: Patrick Walton pwal...@metajournal.net Content-Type: multipart/alternative; boundary=001636c599f30f35870462d42521 --001636c599f30f35870462d42521 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I noticed you have posted HTML

Re: Delivery Status Notification (Failure)

2009-02-17 Thread Bill Ward
, Jonathan On Fri, Feb 13, 2009 at 5:53 PM, Bill Ward b...@wards.net wrote: I sent mail to the author of HTML::Detoxifier but it bounced. Does anyone here have any suggestions for XSS-killers in Perl? -- Forwarded message -- From: Mail Delivery Subsystem mailer-dae

Re: Name for barcode-reading module?

2009-02-17 Thread Bill Ward
On Tue, Feb 17, 2009 at 10:04 AM, Keith Ivey ke...@iveys.org wrote: Okay, it seems like Barcode is the best namespace for it. As Bill says, the module is essentially OCR for barcodes, so if there were a good space for OCR-related modules it might fit there, but there doesn't seem to be one.

Re: ARGH! (was FW: Perl Critic and (honest) hash references)

2009-02-18 Thread Bill Ward
be avoided. ... is prominently displayed in the module. Thanks! Roger -Original Message- From: Bill Ward [mailto:b...@wards.net] Sent: Wednesday, February 18, 2009 11:11 AM To: raha...@ualr.edu Subject: Re: ARGH! (was FW: Perl Critic and (honest) hash references) What

Re: ARGH! (was FW: Perl Critic and (honest) hash references)

2009-02-18 Thread Bill Ward
On Wed, Feb 18, 2009 at 12:22 PM, Jonas Brømsø Nielsen jona...@gmail.comwrote: Hi Roger, How do you perform your perlcritic runs? I can recommend the verbosity setting 8 perlcritic --verbose 8 This gives you quite friendly policy identifiers

Re: ARGH! (was FW: Perl Critic and (honest) hash references)

2009-02-18 Thread Bill Ward
On Wed, Feb 18, 2009 at 3:35 PM, Curtis Jewell perl.module-auth...@csjewell.fastmail.us wrote: On Wed, 18 Feb 2009 22:03 +, Ezra Cooper e...@ezrakilty.net wrote: On Feb 18, 2009, at 9:08 PM, Bill Ward wrote: Still, that's bogus for ordinary hashes... it should only care about

Re: Perl Critic and (honest) hash references

2009-03-02 Thread Bill Ward
On Mon, Mar 2, 2009 at 10:09 AM, Eric Wilhelm enoba...@gmail.com wrote: # from Joshua ben Jore # on Monday 02 March 2009 08:20: If you redesigned, replacing your hash with an array would be harder to typo, faster, smaller, not as nice to dump with Dumper, and harder for 3rd parties to

Re: Perl Critic and (honest) hash references

2009-03-02 Thread Bill Ward
On Mon, Mar 2, 2009 at 12:22 PM, Nicholas Clark n...@ccl4.org wrote: On Mon, Mar 02, 2009 at 10:23:38AM -0800, Bill Ward wrote: Personally I always use hashes for objects. Hashes are pretty fast in Perl, especially when there aren't many keys, so I don't think the benefits of using

Re: Net::Vimeo::API - namespace question

2009-03-10 Thread Bill Ward
On Tue, Mar 10, 2009 at 6:23 AM, David Golden da...@hyperbolic.net wrote: On Tue, Mar 10, 2009 at 10:05 AM, Jonathan Yu jonathan.i...@gmail.com wrote: WWW::Vimeo. That would be my choice. Adding API seems redundant. I agree about dropping API, but prefer Net. WWW to me suggests web

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 current

Re: RFC: Yet Another Excel Writer..

2009-04-08 Thread Bill Ward
On Wed, Apr 1, 2009 at 1:36 AM, sawyer x xsawy...@gmail.com 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

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 j...@jrock.us 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

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 j...@jrock.us wrote: * On Thu, Apr 09 2009, Bill Ward wrote: On Thu, Apr 9, 2009 at 11:26 AM, Jonathan Rockway j...@jrock.us wrote: Most people I know compile one perl for each of their applications. The OS perl is for the OS

Re: Naming advice for retry manager module

2009-04-21 Thread Bill Ward
On Tue, Apr 21, 2009 at 3:12 PM, David Nicol davidni...@gmail.com wrote: On Tue, Apr 21, 2009 at 3:11 PM, Bill Ward b...@wards.net 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

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

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 #

Re: Puzzling error from cpan testers

2009-05-03 Thread Bill Ward
On Sun, May 3, 2009 at 12:18 PM, Andy Armstrong a...@hexten.net 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/group/perl.cpan.testers

Re: Puzzling error from cpan testers

2009-05-05 Thread Bill Ward
On Tue, May 5, 2009 at 6:02 AM, David Cantrell da...@cantrell.org.ukwrote: On Sun, May 03, 2009 at 12:23:27PM -0700, Bill Ward wrote: On Sun, May 3, 2009 at 12:18 PM, Andy Armstrong a...@hexten.net wrote: On 3 May 2009, at 20:07, Bill Ward wrote: For my module Number::Format I am getting

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: 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

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,

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 and I'd like to offload it once

Re: Arguments checker module

2009-05-05 Thread Bill Ward
On Tue, May 5, 2009 at 7:55 PM, Dave Rolsky auta...@urth.org 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 a CPAN module. Has anyone written

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 those. http://search.cpan.org/~drolsky

Re: Arguments checker module

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

Re: Arguments checker module

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

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 agree about

Re: Arguments checker module

2009-05-06 Thread Bill Ward
On Wed, May 6, 2009 at 10:42 AM, Jonathan Leto jal...@gmail.com 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

Re: Arguments checker module

2009-05-06 Thread Bill Ward
On Wed, May 6, 2009 at 3:54 PM, Paul LeoNerd Evans leon...@leonerd.org.ukwrote: On Wed, 6 May 2009 11:27:05 -0700 Bill Ward b...@wards.net 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

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 eash...@mac.com 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

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

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 jonathan.i...@gmail.comwrote: 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

Re: Help needed testing security of login module

2009-05-20 Thread Bill Ward
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. Cheers, Jonathan On Wed, May 20, 2009 at 6:05 PM, Bill Ward b

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 jonathan.i...@gmail.comwrote: Chris: I'm not sure

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 would you feel about ref($foo)-new

Re: Module::Build + documenation woes

2009-06-11 Thread Bill Ward
On Thu, Jun 11, 2009 at 3:46 AM, Ovid publiustemp-moduleautho...@yahoo.comwrote: 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

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: lexical warnings question

2009-06-16 Thread Bill Ward
On Tue, Jun 16, 2009 at 2:43 PM, Hans Dieter Pearceyhdp.perl.module-auth...@weftsoar.net 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

  1   2   >