Re: [Boston.pm] Inheriting documentation for inherited command-line options

2004-09-08 Thread Aaron Sherman
On Wed, 2004-09-08 at 00:17, Uri Guttman wrote: use warnings should be here too. [...] i like _$method better. [...] i don't like using = like that. Uri, you're ripping the guy's code to shreds over minor points of syntactic sugar... I seem to remember that Perl's moto isn't There's only one

Re: [Boston.pm] Inheriting documentation for inherited command-line options

2004-09-08 Thread Sean Quinlan
On Wed, 2004-09-08 at 10:34, Aaron Sherman wrote: On Wed, 2004-09-08 at 00:17, Uri Guttman wrote: use warnings should be here too. [...] i like _$method better. [...] i don't like using = like that. Uri, you're ripping the guy's code to shreds over minor points of syntactic sugar...

Re: [Boston.pm] Inheriting documentation for inherited command-line options

2004-09-08 Thread Greg London
Bob Rogers said: easier to add command-line options through class inheritance and reuse than it is to document them. I have attached an early version of the Hm, I've been using Getopt::Declare for a lot of command-line scripts at work. I'm not a webhead, I do command line tools, so command

Re: [Boston.pm] Inheriting documentation for inherited command-line options

2004-09-08 Thread Uri Guttman
SQ == Sean Quinlan [EMAIL PROTECTED] writes: SQ On Wed, 2004-09-08 at 10:34, Aaron Sherman wrote: On Wed, 2004-09-08 at 00:17, Uri Guttman wrote: use warnings should be here too. [...] i like _$method better. [...] i don't like using = like that. Uri, you're

Re: [Boston.pm] Inheriting documentation for inherited command-line options

2004-09-08 Thread Chris Devers
On Wed, 8 Sep 2004, Uri Guttman wrote: SQ == Sean Quinlan [EMAIL PROTECTED] writes: SQ While making recommendations on style can be useful, particularly SQ in the cases where it can reduce the possibility of bugs, I would SQ agree that approaching the main request of the poster first might SQ

[Boston.pm] a car talk puzzle

2004-09-08 Thread Chris Devers
This seems like something that would be fun to solve with Perl: RAY: I have, written on a piece of paper in front of me, a word that is plural and also masculine. Now, I know we don't have masculine and feminine words in English the way we do in Italian or French. But, we do have

RE: [Boston.pm] a car talk puzzle

2004-09-08 Thread Tolkin, Steve
See my answer after the original message. It uses Perl, but the minimum amount. It only took a few seconds to do it the natural way (natural if you are used to grep, comm and other Unix utilities). I used these utilities in part because Chris suggested their use, and in part because I think this

Re: [Boston.pm] a car talk puzzle

2004-09-08 Thread Kripa Sundar
Dear Chris, The word I have written here is [...] masculine, and ends in s. Not only that, but you change this word from plural to singular and from masculine to feminine, all by adding an s to it! [...] If the word in question is in /usr/share/dict/words, then it should be one

Re: [Boston.pm] a car talk puzzle

2004-09-08 Thread Ronald J Kimball
On Wed, Sep 08, 2004 at 03:09:59PM -0400, Tolkin, Steve wrote: * Clearly * is feminine and singular and I think that does have a masculine connotation. That is not the correct answer. :) There's a much more common word pair, where the singular

Re: [Boston.pm] a car talk puzzle

2004-09-08 Thread Kripa Sundar
Dear Chris, I wrote: || % perl -wMstrict -lne 'use vars qq.%x.; (my $y = $_) =~ s/ss$/s/; \ || print if $x{$y}; $x{$_}++;' /usr/dict/words || ass || buss || canvass || discuss || Douglass || hiss || % [...] The Lingua::EN::Inflect approach would obviously not

RE: [Boston.pm] a car talk puzzle

2004-09-08 Thread Chris Devers
On Wed, 8 Sep 2004, Tolkin, Steve wrote: If the word in question is in /usr/share/dict/words Big if, it turns out. I cheated, the answer is here. DON'T READ THIS IF YOU HATE SPOILERS: http://www.cartalk.com/content/puzzler/transcripts/200346/answer.html Looking back at my /usr/share/dict/words,

[Boston.pm] CMS/Website creation and management tool

2004-09-08 Thread juanbro
Hello, I'm looking for recommendations for a website creation and management tool (written in Perl of course). Here are some thoughts on what I'd like it to be: Open Source Written in Perl (or mostly Perl) Well documented Browser based content management GUI Template and CSS driven design

RE: [Boston.pm] a car talk puzzle

2004-09-08 Thread Jeremy Muhlich
On Wed, 2004-09-08 at 15:43, Chris Devers wrote: Looking back at my /usr/share/dict/words, the singular form of the word doesn't show up I find that kind of hard to believe... What unix are you running? Anyway, here's my submission (I initially envisioned some xargs/grep stuff at the end but

Re: [Boston.pm] CMS/Website creation and management tool

2004-09-08 Thread Drew Taylor
[EMAIL PROTECTED] wrote: Hello, I'm looking for recommendations for a website creation and management tool (written in Perl of course). Here are some thoughts on what I'd like it to be: Open Source Written in Perl (or mostly Perl) Well documented Browser based content management GUI Template and

RE: [Boston.pm] a car talk puzzle

2004-09-08 Thread Cox, Mark
Using your script Jeremy, my dictionary (Solaris 5.8) came up with one that I like Ogres-Ogress :-) --Mark On Wednesday, September 08, 2004 4:17 PM, Jeremy Muhlich wrote: grep 'ss$' /usr/share/dict/words | sed -e s/ss// | \ cat - /usr/share/dict/words | sort | uniq -c | grep ' 2' That

Re: [Boston.pm] CMS/Website creation and management tool

2004-09-08 Thread Chris Devers
On Wed, 8 Sep 2004 [EMAIL PROTECTED] wrote: Any useful recommendations would be appreciated. What kind of sites? What are you hoping to do with the CMS engine? Three that come to mind are Bricolage, MovableType, and Slash, but these systems have very significant differences, such that a site that

RE: [Boston.pm] a car talk puzzle

2004-09-08 Thread Chris Devers
On Wed, 8 Sep 2004, Jeremy Muhlich wrote: On Wed, 2004-09-08 at 15:43, Chris Devers wrote: Looking back at my /usr/share/dict/words, the singular form of the word doesn't show up I find that kind of hard to believe... That was a think-o -- the singular is there, the plural isn't. What unix are you

RE: [Boston.pm] a car talk puzzle

2004-09-08 Thread Chris Devers
On Wed, 8 Sep 2004, Cox, Mark wrote: Using your script Jeremy, my dictionary (Solaris 5.8) came up with one that I like Ogres-Ogress Ya know, Shrek and Fiona meet both of these solutions to the puzzle :-) heh... -- Chris Devers ___ Boston-pm mailing

Re: [Boston.pm] a car talk puzzle

2004-09-08 Thread David Cantrell
Chris Devers wrote: I spent last night reading the entire Oxford English Dictionary, and I only found one example for which this works. That was a *very* long night. -- David Cantrell | Hero of the Information Age Us Germans take our humour very seriously -- German cultural attache

Re: [Boston.pm] a car talk puzzle

2004-09-08 Thread Greg London
David Cantrell said: Us Germans take our humour very seriously -- German cultural attache talking to the Today Programme, about the German supposed lack of a sense of humour, 29 Aug 2001 I assure you, vee have vays ov makink you laugh... Joke number one...

Re: [Boston.pm] Looking for a hosting service

2004-09-08 Thread William Ricker
Of possible use in selecting hosting vendors... Hosting ratings -- linux tops reliability sweeps for first month. http://news.netcraft.com/archives/2004/09/02/most_reliable_hosting_providers_during_august.html (note that listings are paid -- small isps won't show up at all) --- William

Re: [Boston.pm] CMS/Website creation and management tool

2004-09-08 Thread joe
On Wed, 8 Sep 2004 16:43:06 -0400 (EDT), Chris Devers [EMAIL PROTECTED] said: On Wed, 8 Sep 2004 [EMAIL PROTECTED] wrote: Any useful recommendations would be appreciated. What kind of sites? What are you hoping to do with the CMS engine? Three that come to mind are Bricolage,

Re: [Boston.pm] CMS/Website creation and management tool

2004-09-08 Thread Chris Devers
On Wed, 8 Sep 2004, joe wrote: MovableType fails the Open Source test. Ahh, good point, I forgot about that. That still leaves at least Bricolage Slash though, and I know there are several others (Mason, etc). More info is needed to help figure out which one is appropriate. -- Chris Devers

Re: [Boston.pm] Inheriting documentation for inherited command-line options

2004-09-08 Thread Bob Rogers
From: Sean Quinlan [EMAIL PROTECTED] Date: Wed, 08 Sep 2004 11:25:07 -0400 Although I haven't personally come across the need to have multiple scripts have re-used command line options yet (other than a few old historic cases), this sounds like an interesting project for handling

Re: [Boston.pm] Inheriting documentation for inherited command-line options

2004-09-08 Thread Bob Rogers
From: Uri Guttman [EMAIL PROTECTED] Date: Wed, 08 Sep 2004 00:17:15 -0400 BR == Bob Rogers [EMAIL PROTECTED] writes: BR use strict; use warnings should be here too. Thank you; that sounds like a good idea. (Though usually my main interest in manipulating perl warnings is

Re: [Boston.pm] Inheriting documentation for inherited command-line options

2004-09-08 Thread Uri Guttman
BR == Bob Rogers [EMAIL PROTECTED] writes: BR sub BEGIN { BR no strict 'refs'; BR for my $method (qw(option_definers additional_options BR man_p help_p usage_p)) { BR my $field = '_' . $method; BRi like _$method better. BR I don't; it's harder to see. i find . hard to see