[30458] in Perl-Users-Digest
Perl-Users Digest, Issue: 1701 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Jul 8 14:14:24 2008
Date: Tue, 8 Jul 2008 11:14:14 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Tue, 8 Jul 2008 Volume: 11 Number: 1701
Today's topics:
Re: Value of "Programming perl" 1st Ed.? <uri@stemsystems.com>
Re: Value of "Programming perl" 1st Ed.? <brian.d.foy@gmail.com>
Re: Value of "Programming perl" 1st Ed.? <spamtrap@dot-app.org>
Re: Value of "Programming perl" 1st Ed.? <skyler@shaw.ca>
Re: Value of "Programming perl" 1st Ed.? <skyler@shaw.ca>
Re: Value of "Programming perl" 1st Ed.? <uri@stemsystems.com>
Re: Value of "Programming perl" 1st Ed.? <uri@stemsystems.com>
Re: Value of "Programming perl" 1st Ed.? <skyler@shaw.ca>
Re: Value of "Programming perl" 1st Ed.? <skyler@shaw.ca>
Re: Want regex s/// to replace only nth occurrence <ced@blv-sam-01.ca.boeing.com>
Re: Want regex s/// to replace only nth occurrence <someone@example.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Tue, 08 Jul 2008 14:40:04 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Value of "Programming perl" 1st Ed.?
Message-Id: <x73amke8xn.fsf@mail.sysarch.com>
>>>>> "p" == pilcrow <pilcrow@pp.info> writes:
p> On Tue, 08 Jul 2008 04:57:09 GMT, Uri Guttman <uri@stemsystems.com>
p> wrote:
>>>>>>> "SP" == Sherman Pendley <spamtrap@dot-app.org> writes:
>>
SP> Skyler <skyler@shaw.ca> writes:
>> >> Sherman Pendley wrote:
>> >>> Uri Guttman <uri@stemsystems.com> writes:
>> >>>
>> >>> >>>>>> "SP" == Sherman Pendley <spamtrap@dot-app.org> writes:
>> >>> > SP> Anyone know if a 1st edition Camel in very good condition would have
>> >>> > SP> any appeal to collectors, and if so, what its value might be?
>> >>> >
>> >>> > if it doesn't have dogears then its first owner may not have be a decent
>> >>> > perl hacker! :)
>> >>>
>> >>> A decent Perl hacker wouldn't have had to read it more than once! :-)
>> >>
>> >> FFS
>>
SP> It's a joke, ah said, a joke son! Did ya'll miss da smiley or sumthin?
>>
SP> Ah sweah, that boy is wound tightah than a cat in a room full ah my
SP> ol' pappy's rockin chaiahs.
>>
>> he will get that joke as easily as making rocket skates that work and
>> putting them into the Acme:: namespace. wait until he sees this. just
>> like the coyote look at the camera just before he drops 10k feet to the
>> hard desert floor below.
>>
>> uri
p> Emmett Kelly, Buster Keaton and Abbott & Costello were talented clowns.
p> You guys ain't. Your over-inflated egos out-shadow any wit you might
p> have.
and the first two were silent and so appropriate for analogies in a
written medium. A&C we more verbal but plenty physical as well. and i
have performed who's on first a couple of times in public to thunderous
applause (well it seemed that way) a couple of times. so yes, i am a
clown. but those who expect high level wit in a usenet group are
misguided. they will be left witless.
uri
--
Uri Guttman ------ uri@stemsystems.com -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
------------------------------
Date: Tue, 08 Jul 2008 10:21:27 -0500
From: brian d foy <brian.d.foy@gmail.com>
Subject: Re: Value of "Programming perl" 1st Ed.?
Message-Id: <080720081021277962%brian.d.foy@gmail.com>
In article <m1abgtbiqa.fsf@dot-app.org>, Sherman Pendley
<spamtrap@dot-app.org> wrote:
> Anyone know if a 1st edition Camel in very good condition would have
> any appeal to collectors, and if so, what its value might be?
It might be even more valuable to get the author signatures if you
don't already have them. If you need help doing that, let me :)
------------------------------
Date: Tue, 08 Jul 2008 11:59:17 -0400
From: Sherman Pendley <spamtrap@dot-app.org>
Subject: Re: Value of "Programming perl" 1st Ed.?
Message-Id: <m1r6a4e59m.fsf@dot-app.org>
brian d foy <brian.d.foy@gmail.com> writes:
> In article <m1abgtbiqa.fsf@dot-app.org>, Sherman Pendley
> <spamtrap@dot-app.org> wrote:
>
>> Anyone know if a 1st edition Camel in very good condition would have
>> any appeal to collectors, and if so, what its value might be?
>
> It might be even more valuable to get the author signatures if you
> don't already have them.
I don't, but that's a great idea. Pittsburgh is within driving
distance of both where I'm living now and where I'd rather be living,
so there's a very good chance that I'll be able to attend next year's
YAPC-NA.
Maybe if we get it signed, we could do a charity auction to benefit
the Perl Foundation, or some other worthwhile cause.
sherm--
--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
------------------------------
Date: Tue, 08 Jul 2008 09:00:45 -0700
From: Skyler <skyler@shaw.ca>
Subject: Re: Value of "Programming perl" 1st Ed.?
Message-Id: <z9Mck.3810$cn7.943@flpi145.ffdc.sbc.com>
Uri Guttman wrote:
>>>>>> "S" == Skyler <skyler@shaw.ca> writes:
>
> S> Uri Guttman wrote:
>
> >> please rtfm. you need to learn more perl before you can say such
> >> things.
>
> S> You need to learn how to use a damn keyboard. They made the shift
> S> key for a reason, jackass. And feel free to stop pretending like
> S> you have any real power here and maybe then you can be taken
> S> serious.
>
> i only have the power granted me by readers who like my posts. you
> have none of that so why flame me? i ignore you like i ignore syntax
> errors. you are nothing more than bugs smashed and wiped from the
> windshield of my perl code.
Oh, you are such a big intimidating man... . One who violates his own
rules - You (and Sherman Pendley) started to create so much noise with
your banter like a couple of douches, that clearly should of been in
email, it frankly just pissed me off. You both, and others, always tell
other people to not create extra noise that doesn't belong and you two
both did just that.
Long story short, stop pretending you're above anyone and act like a
real human being, or just fûck off. No real person cares how superior
you think you are. Of course, this is Usenet, so feel free to continue
diluting yourself.
-sky
------------------------------
Date: Tue, 08 Jul 2008 09:10:20 -0700
From: Skyler <skyler@shaw.ca>
Subject: Re: Value of "Programming perl" 1st Ed.?
Message-Id: <xiMck.3852$cn7.281@flpi145.ffdc.sbc.com>
Uri Guttman wrote:
>>>>>> "p" == pilcrow <pilcrow@pp.info> writes:
>
> p> On Tue, 08 Jul 2008 04:57:09 GMT, Uri Guttman <uri@stemsystems.com>
> p> wrote:
>
> >>>>>>> "SP" == Sherman Pendley <spamtrap@dot-app.org> writes:
> >>
> SP> Skyler <skyler@shaw.ca> writes:
> >> >> Sherman Pendley wrote:
> >> >>> Uri Guttman <uri@stemsystems.com> writes:
> >> >>>
> >> >>> >>>>>> "SP" == Sherman Pendley <spamtrap@dot-app.org> writes:
> >> >>> > SP> Anyone know if a 1st edition Camel in very good condition would have
> >> >>> > SP> any appeal to collectors, and if so, what its value might be?
> >> >>> >
> >> >>> > if it doesn't have dogears then its first owner may not have be a decent
> >> >>> > perl hacker! :)
> >> >>>
> >> >>> A decent Perl hacker wouldn't have had to read it more than once! :-)
> >> >>
> >> >> FFS
> >>
> SP> It's a joke, ah said, a joke son! Did ya'll miss da smiley or sumthin?
> >>
> SP> Ah sweah, that boy is wound tightah than a cat in a room full ah my
> SP> ol' pappy's rockin chaiahs.
> >>
> >> he will get that joke as easily as making rocket skates that work and
> >> putting them into the Acme:: namespace. wait until he sees this. just
> >> like the coyote look at the camera just before he drops 10k feet to the
> >> hard desert floor below.
> >>
> >> uri
>
> p> Emmett Kelly, Buster Keaton and Abbott & Costello were talented clowns.
> p> You guys ain't. Your over-inflated egos out-shadow any wit you might
> p> have.
>
> and the first two were silent and so appropriate for analogies in a
> written medium.
How is that a correct analogy? Typing messages has always been analogous
to >speaking<... you can't even get that right, not surprising since you
don't even know how to type.
> A&C we more verbal but plenty physical as well. and i have performed
> who's on first a couple of times in public to thunderous
> applause
You do realize applause at that point is for the person you're announcing?
> (well it seemed that way) a couple of times. so yes, i am a
> clown. but those who expect high level wit in a usenet group are
> misguided.
There is nothing wrong with wit in a technical news group. It's just sad
you are too damn blind and/or stupid to realize that.
-sky
------------------------------
Date: Tue, 08 Jul 2008 17:10:15 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Value of "Programming perl" 1st Ed.?
Message-Id: <x78wwc9ua0.fsf@mail.sysarch.com>
>>>>> "S" == Skyler <skyler@shaw.ca> writes:
S> Uri Guttman wrote:
p> Emmett Kelly, Buster Keaton and Abbott & Costello were talented
>> clowns.
p> You guys ain't. Your over-inflated egos out-shadow any wit you might
p> have.
>> and the first two were silent and so appropriate for analogies in a
>> written medium.
S> How is that a correct analogy? Typing messages has always been
S> analogous to >speaking<... you can't even get that right, not
S> surprising since you don't even know how to type.
make that inappropriate. typo. the point still stands with your poor
choice (but of very good) clowns. next contestant!!
>> A&C we more verbal but plenty physical as well. and i have performed
>> who's on first a couple of times in public to thunderous
>> applause
S> You do realize applause at that point is for the person you're announcing?
you do realize that i am yanking your leg out of your pelvis? does it
hurt much?
>> (well it seemed that way) a couple of times. so yes, i am a
>> clown. but those who expect high level wit in a usenet group are
>> misguided.
S> There is nothing wrong with wit in a technical news group. It's just
S> sad you are too damn blind and/or stupid to realize that.
must be too much of the hairy palm!! but i am both blind and stupid
according to my wife. what is your excuse?
and you will answer this. i order you to! (maybe he will refuse my order
and do the smart thing. any wagers?)
uri
--
Uri Guttman ------ uri@stemsystems.com -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
------------------------------
Date: Tue, 08 Jul 2008 17:13:58 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Value of "Programming perl" 1st Ed.?
Message-Id: <x74p709u3t.fsf@mail.sysarch.com>
>>>>> "S" == Skyler <skyler@shaw.ca> writes:
S> Uri Guttman wrote:
>> i only have the power granted me by readers who like my posts. you
>> have none of that so why flame me? i ignore you like i ignore syntax
>> errors. you are nothing more than bugs smashed and wiped from the
>> windshield of my perl code.
S> Oh, you are such a big intimidating man... . One who violates his own
S> rules - You (and Sherman Pendley) started to create so much noise with
S> your banter like a couple of douches, that clearly should of been in
S> email, it frankly just pissed me off. You both, and others, always
S> tell other people to not create extra noise that doesn't belong and
S> you two both did just that.
hahahah. how long have you been helping perl hackers (here or elsewhere)?
the usual rule of you don't help then you don't speak applies. of course
you will yammer on and on about how you belong here. but belonging means
posting about perl.
S> Long story short, stop pretending you're above anyone and act like
S> a real human being, or just fûck off. No real person cares how
S> superior you think you are. Of course, this is Usenet, so feel free
S> to continue diluting yourself.
i drain my diluted piss on you!! now go clean up and keep quiet. you are
making quite a spectacle of yourself. you have no audience backing you
up and you won't get any applause for attacking me. i have survived the
alaskan electrician and the moronzilla. you are a gnat on the ass of a
whale that won't be washed off in the surf.
uri
--
Uri Guttman ------ uri@stemsystems.com -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
------------------------------
Date: Tue, 08 Jul 2008 10:54:27 -0700
From: Skyler <skyler@shaw.ca>
Subject: Re: Value of "Programming perl" 1st Ed.?
Message-Id: <pRNck.14596$mh5.1854@nlpi067.nbdc.sbc.com>
Uri Guttman wrote:
>>>>>> "S" == Skyler <skyler@shaw.ca> writes:
>
> S> Uri Guttman wrote:
>
> p> Emmett Kelly, Buster Keaton and Abbott & Costello were talented
> >> clowns.
> p> You guys ain't. Your over-inflated egos out-shadow any wit you might
> p> have.
> >> and the first two were silent and so appropriate for analogies in a
> >> written medium.
>
>
> S> How is that a correct analogy? Typing messages has always been
> S> analogous to >speaking<... you can't even get that right, not
> S> surprising since you don't even know how to type.
>
> make that inappropriate. typo. the point still stands with your poor
> choice (but of very good) clowns. next contestant!!
That comment about the clowns wasn't mine you doofus. (It was from a
poster named Pilcrow.) But you will keep arguing that it was mine,
despite the bulging evidence just three post above the one I'm replying to.
> >> A&C we more verbal but plenty physical as well. and i have performed
> >> who's on first a couple of times in public to thunderous
> >> applause
>
> S> You do realize applause at that point is for the person you're announcing?
>
>
> you do realize that i am yanking your leg out of your pelvis? does it
> hurt much?
Yeah, you keep thinking that. Delusion is wonderful world, eh? I don't
think theres anything left of that glass house of yours. Too bad home
owner's insurance wont pay for self inflicted destruction.
-sky
------------------------------
Date: Tue, 08 Jul 2008 10:57:30 -0700
From: Skyler <skyler@shaw.ca>
Subject: Re: Value of "Programming perl" 1st Ed.?
Message-Id: <eUNck.14597$mh5.11265@nlpi067.nbdc.sbc.com>
Uri Guttman wrote:
>>>>>> "S" == Skyler <skyler@shaw.ca> writes:
>
> S> Uri Guttman wrote:
>
> >> i only have the power granted me by readers who like my posts. you
> >> have none of that so why flame me? i ignore you like i ignore syntax
> >> errors. you are nothing more than bugs smashed and wiped from the
> >> windshield of my perl code.
>
> S> Oh, you are such a big intimidating man... . One who violates his own
> S> rules - You (and Sherman Pendley) started to create so much noise with
> S> your banter like a couple of douches, that clearly should of been in
> S> email, it frankly just pissed me off. You both, and others, always
> S> tell other people to not create extra noise that doesn't belong and
> S> you two both did just that.
>
> the usual rule of you don't help then you don't speak applies.
No, that's your sorry rule. You have no authority to impose that on
anyone so stop kidding yourself, stop performing homo sexual acts in
public, and get a real life.
> S> Long story short, stop pretending you're above anyone and act like
> S> a real human being, or just fûck off. No real person cares how
> S> superior you think you are. Of course, this is Usenet, so feel free
> S> to continue diluting yourself.
>
> i drain my diluted piss on you!! now go clean up and keep quiet.
Too late, I think Sherman already drank before it could hit the ground.
And why is it green? Have you been drinking anti-freeze again?
-sky
------------------------------
Date: Tue, 8 Jul 2008 05:11:32 -0700 (PDT)
From: "comp.llang.perl.moderated" <ced@blv-sam-01.ca.boeing.com>
Subject: Re: Want regex s/// to replace only nth occurrence
Message-Id: <8ececc4f-b3f0-43b7-b91e-026102dcf8ee@y21g2000hsf.googlegroups.com>
On Jul 6, 6:58 am, Dave B <da...@addr.invalid> wrote:
> jerrykrin...@gmail.com wrote:
> > my $s = "The sneaky cat sneaked sneakily." ;
>
> > I would like a simple s/// statement which would replace only the $nth
> > occurrence of "sneak". ($n is a variable). Can't find the answer.
> > Is this possible?
>
> With sed it's trivial. With Perl, I'd do this:
>
> my $x=0;my $n=3;
>
> while($s=~/sneak/g) {
> if (++$x==$n) {
> $s=~s/sneak\G/replacement/;
alternatively:
substr($s, $-[0], $+[0]-$-[0]) = replacement;
> last;
> }
>
> }
>
--
Charles DeRykus
------------------------------
Date: Tue, 08 Jul 2008 16:42:28 GMT
From: "John W. Krahn" <someone@example.com>
Subject: Re: Want regex s/// to replace only nth occurrence
Message-Id: <UNMck.59205$kx.55494@pd7urf3no>
comp.llang.perl.moderated wrote:
> On Jul 6, 6:58 am, Dave B <da...@addr.invalid> wrote:
>> jerrykrin...@gmail.com wrote:
>>> my $s = "The sneaky cat sneaked sneakily." ;
>>> I would like a simple s/// statement which would replace only the $nth
>>> occurrence of "sneak". ($n is a variable). Can't find the answer.
>>> Is this possible?
>> With sed it's trivial. With Perl, I'd do this:
>>
>> my $x=0;my $n=3;
>>
>> while($s=~/sneak/g) {
>> if (++$x==$n) {
>> $s=~s/sneak\G/replacement/;
>
> alternatively:
>
> substr($s, $-[0], $+[0]-$-[0]) = replacement;
alternatively:
substr $s, $-[0], $+[0] - $-[0], 'replacement';
>> last;
>> }
>>
>> }
John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V11 Issue 1701
***************************************