[25667] in Perl-Users-Digest
Perl-Users Digest, Issue: 7908 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Mar 29 12:22:20 2005
Date: Tue, 29 Mar 2005 09:21:48 -0800 (PST)
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, 29 Mar 2005 Volume: 10 Number: 7908
Today's topics:
Re: PerlMagick, Annotate, and Webdings <ron@savage.net.au>
Re: $line = <FH> returns incomplete lines <tadmc@augustmail.com>
Re: $line = <FH> returns incomplete lines <robic0@yahoo.com>
Re: $line = <FH> returns incomplete lines <1usa@llenroc.ude.invalid>
Re: $line = <FH> returns incomplete lines <tadmc@augustmail.com>
Re: $line = <FH> returns incomplete lines <chbarts+usenet@gmail.com>
Re: $line = <FH> returns incomplete lines <robic0@yahoo.com>
Re: $line = <FH> returns incomplete lines <1usa@llenroc.ude.invalid>
Re: $line = <FH> returns incomplete lines <1usa@llenroc.ude.invalid>
Re: $line = <FH> returns incomplete lines <tadmc@augustmail.com>
Re: $line = <FH> returns incomplete lines <stampes@xilinx.com>
Re: $line = <FH> returns incomplete lines <robic0@yahoo.com>
Re: $line = <FH> returns incomplete lines <spamtrap@dot-app.org>
Re: $line = <FH> returns incomplete lines <1usa@llenroc.ude.invalid>
Re: $line = <FH> returns incomplete lines <chbarts+usenet@gmail.com>
Re: $line = <FH> returns incomplete lines <tadmc@augustmail.com>
Re: (",) Do You Want To Know For Sure You Are Going To <mpapec@nohome.com>
Re: (",) Do You Want To Know For Sure You Are Going To <groleau+news@freeshell.org>
Re: == operator acts differently in perl 5.005_03 and 5 <yahavba@gmail.com>
[perl-python] limericks <xah@xahlee.org>
Re: [perl-python] limericks <nobody@dev.null>
Re: [perl-python] limericks <roy@panix.com>
Re: [Q]: How to sort first abc, then 123? (Ton Hospel)
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 27 Mar 2005 12:51:59 +1000
From: Ron Savage <ron@savage.net.au>
Subject: Re: PerlMagick, Annotate, and Webdings
Message-Id: <2005327125159.051077@ron>
On Sun, 6 Mar 2005 07:08:38 +1000, Aaron Dalton wrote:
Hi Aaron
>=A0I am trying to Annotate an image with a character from the Webdings
If you write a little program to dump out the Webdings font file you'll find=
characters are often 2 or 3 off from where you expect them to be, when=
accessing them from Image::Magick.
------------------------------
Date: Fri, 25 Mar 2005 08:41:51 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <slrnd488pf.ba1.tadmc@magna.augustmail.com>
robic0@yahoo.com <robic0@yahoo.com> wrote:
> if ($line =~ /[\n]+/) {
^ ^
^ ^
Those 2 characters can serve no useful purpose, so why are they there?
Do you understand the code you write?
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: 25 Mar 2005 15:06:57 -0800
From: "robic0@yahoo.com" <robic0@yahoo.com>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <1111792017.881420.49180@l41g2000cwc.googlegroups.com>
Tad McClellan wrote:
> robic0@yahoo.com <robic0@yahoo.com> wrote:
>
> > if ($line =~ /[\n]+/) {
> ^ ^
> ^ ^
>
> Those 2 characters can serve no useful purpose, so why are they
there?
>
> Do you understand the code you write?
>
>
> --
> Tad McClellan SGML consulting
> tadmc@augustmail.com Perl programming
> Fort Worth, Texas
Staying on topic, please give an example of what code is not
understandable to you.
------------------------------
Date: 26 Mar 2005 01:10:48 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <Xns9624CDCAA2BD9asu1cornelledu@132.236.56.8>
"robic0@yahoo.com" <robic0@yahoo.com> wrote in
news:1111792017.881420.49180@l41g2000cwc.googlegroups.com:
> Tad McClellan wrote:
>> robic0@yahoo.com <robic0@yahoo.com> wrote:
>>
>> > if ($line =~ /[\n]+/) {
>> ^ ^
>> ^ ^
>>
>> Those 2 characters can serve no useful purpose, so why are they
>> there?
>>
>> Do you understand the code you write?
>>
>> --
[ Don't quote signatures ]
> Staying on topic, please give an example of what code is not
> understandable to you.
You misunderstood Tad's point.
You will need to explain what you think the code above does.
Sinan
------------------------------
Date: Fri, 25 Mar 2005 23:43:06 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <slrnd49tja.1js.tadmc@magna.augustmail.com>
robic0@yahoo.com <robic0@yahoo.com> wrote:
> Tad McClellan wrote:
>> robic0@yahoo.com <robic0@yahoo.com> wrote:
>>
>> > if ($line =~ /[\n]+/) {
>> ^ ^
>> ^ ^
>>
>> Those 2 characters can serve no useful purpose, so why are they
> there?
>>
>> Do you understand the code you write?
> Staying on topic,
Huh?
> please give an example of what code is not
> understandable to you.
I didn't say that *I* didn't understand the code.
I said that _you_ didn't understand the code.
Your code that I quoted is equivalent to:
if ($line =~ /\n+/) {
The 2 underlined characters served no purpose, so I'm wondering
why you included them. Maybe you (mis)think that they _do_ serve
some purpose, in which case you will learn something.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Sat, 26 Mar 2005 03:17:42 -0700
From: Chris Barts <chbarts+usenet@gmail.com>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <j4OdnYIsQL9aq9jfRVn-qw@onewest.net>
Shawn Corey wrote:
>
> Don't forget that many of the CPAN modules are released under GPL (or
> similar licenses). If you cut & paste from them, your code is a derived
> work which means you *must* publish it under the terms of GPL.
Well, to the extent you publish it at all you must abide by the terms of
the GPL. If the code never leaves your company, the issue never really
comes up.
>
> Check the terms of any open source license before you cut & paste.
This is good advice.
------------------------------
Date: 26 Mar 2005 13:43:43 -0800
From: "robic0@yahoo.com" <robic0@yahoo.com>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <1111873423.315353.16760@l41g2000cwc.googlegroups.com>
What does GPL, character class, Tail or personal insults have to do
with anything
this gentleman posted a question about? I answered his question, its
the EOF condition
he has problems with. Is his question OFF-TOPIC on this group??? If so,
that damn near
every posted subject is OFF-TOPIC.
I personally find Tad Mclelan the most insulting individual I'd seen
here. He is totally out of context,
rarely can see the forest for the trees. I am wondering what Google is
going to do when they get
another complaint about this group and some of these individuals
professing to be ... uh, I don't
know... have the power of GOD to be so insulting and personally
demeaning on here.
Obvious lurkers who have power trips. Keep this rude behaviour up and
this group will dissolve
I assure you.
Regards,
RFC
------------------------------
Date: Sat, 26 Mar 2005 22:16:53 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <Xns9625AFCC63D9Dasu1cornelledu@127.0.0.1>
"robic0@yahoo.com" <robic0@yahoo.com> wrote in
news:1111873423.315353.16760@l41g2000cwc.googlegroups.com:
> I am wondering what Google is going to do when they get
> another complaint about this group
You seem to be unaware that it Google has no authority over the existence
of this, or any other, UseNet newsgroup.
> Keep this rude behaviour up and this group will dissolve
> I assure you.
Do I sense a threat?
Sinan.
------------------------------
Date: Sat, 26 Mar 2005 22:23:41 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <Xns9625B0F311ED8asu1cornelledu@127.0.0.1>
"A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in
news:Xns9625AFCC63D9Dasu1cornelledu@127.0.0.1:
> "robic0@yahoo.com" <robic0@yahoo.com> wrote in
> news:1111873423.315353.16760@l41g2000cwc.googlegroups.com:
>
>> I am wondering what Google is going to do when they get
>> another complaint about this group
>
> You seem to be unaware that it Google has no authority over the
> existence of this, or any other, UseNet newsgroup.
Please see:
<URL: http://groups-beta.google.com/group/news.groups/msg/8603f082
7e5b896a?dmode=source>
<URL: http://tinyurl.com/6hb6f>
Sinan
------------------------------
Date: Sat, 26 Mar 2005 17:06:43 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <slrnd4bqo3.1l9.tadmc@magna.augustmail.com>
robic0@yahoo.com <robic0@yahoo.com> wrote:
> I personally find Tad Mclelan the most insulting individual
You reap what you sow.
[
You should post comments as followups to the post you are
commenting on.
If Tad said something you want to say something about, say something
about it in a followup to where Tad said it, and quote what was
said.
]
Everybody else posts by trimming and quoting. Have you looked at
several followups and noticed that they are all in that style?
> I'd seen
> here.
Ahhh, shucks.
You mean, I'm the meanest in all of your vast experience here?
How many years have you been around here anyway?
You sure seem to know a lot about the newsgroup...
> He is totally out of context,
I only have 10 years experience in the context of this newsgroup,
I bow to your obvious superiority in these matters.
> I am wondering what Google is
> going to do
Pardon me, but your ignorance is showing (yet again).
Consider talking only about things that you know something about.
> Obvious lurkers
That is an oxymoron.
Lurkers are not obvious by definition.
If they were obvious, they would not be "lurking".
> Keep this rude behaviour up and
Sorry Mom.
> this group will dissolve
> I assure you.
It has been here for over 10 years so far (which is before
Google was even started BTW).
How many years have you been observing here again?
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Sat, 26 Mar 2005 17:23:38 -0700
From: Jeff Stampes <stampes@xilinx.com>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <d24ueb$h2e3@xco-news.xilinx.com>
robic0@yahoo.com wrote:
> I personally find Tad Mclelan the most insulting individual I'd seen
> here.
Aw shucks...Tad doesn't even *try*. It's unfortunate you consider
someone who tries to help you avoid looking like a complete idiot to be
"insulting". Frankly, Tad's helped you way too much already, and his
help isn't....um...helping.
> He is totally out of context,
> rarely can see the forest for the trees.
*Gasp* a perl programmer on a perl newsgroup! Tad, you out-of-context
guy. Go join the cops at the local police station, the drunk at the
local bar, and the other out-of-context people in your town.
> I am wondering what Google is
> going to do when they get
> another complaint about this group and some of these individuals
> professing to be ... uh, I don't
> know... have the power of GOD to be so insulting and personally
> demeaning on here.
I'm not sure what [G]eorge [O]rwell's [D]aughter has to do with any of
this, but I'm sure she's pleased to be held in high esteem. I'm not so
sure what Google has to do with it either. But if you want to talk
"insulting", can you imagine this bonehead who barged in here recently,
demanding help, resisting constructive criticism, insulting the
long-time contributors, and being a general jerk?
> Obvious lurkers who have power trips. Keep this rude behaviour up and
> this group will dissolve
> I assure you.
We'll take the risk.
> Regards,
> RFC
Same to you Robin.
Sorry all, I had to feed the Troll just once.
------------------------------
Date: 26 Mar 2005 16:38:37 -0800
From: "robic0@yahoo.com" <robic0@yahoo.com>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <1111883917.944106.105020@l41g2000cwc.googlegroups.com>
This folks, I'm afraid, is what your in for if you post a simple perl
question here.
Twisted people who parse every line and word you write must have
psychological
problems. Obviously they can't write algorythms, and are the rudest
people on usenet.
Folks welcome to nazi *lang* land which mostly originates from 3rd
world countries
by people who steal American jobs. I will cut and past my concerns to
Google as well
as to my congressman and President Bush as I really do believe you
undermime
American culture and should be banned from the US. I know people in
congress and I
will cc them too. I think that you foreigners should not be allowed to
belittle Americans
and behave so rudely. I really wish this server would be dissolved and
re-built without
the extremely rude people involved with its maintanence.
RFC
------------------------------
Date: Sat, 26 Mar 2005 19:58:23 -0500
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <2tydnRwSbqmsmNvfRVn-rg@adelphia.com>
robic0@yahoo.com wrote:
> I am wondering what Google is going to do when they get
> another complaint about this group
I know I shouldn't feed the trolls, but I can't help asking... What exactly
do you imagine Google *can* do? They don't own this group, they didn't
create it, and they don't manage it.
> Obvious lurkers who have power trips. Keep this rude behaviour up and
> this group will dissolve
You have no idea how usenet actually works, do you?
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
------------------------------
Date: Sun, 27 Mar 2005 01:04:57 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <Xns9625CC4B69D9Casu1cornelledu@127.0.0.1>
"robic0@yahoo.com" <robic0@yahoo.com> wrote in
news:1111883917.944106.105020@l41g2000cwc.googlegroups.com:
> Obviously they can't write algorythms, and are the rudest
> people on usenet.
Since you seem to place a high value on being able to write algorithms,
you might be interested in learning about the origin of the word:
http://en.wikipedia.org/wiki/Algorithm#History
> Folks welcome to nazi *lang* land
http://www.faqs.org/faqs/usenet/legends/godwin/
> which mostly originates from 3rd world countries
:)
> by people who steal American jobs. I will cut and past my concerns to
> Google as well as to my congressman and President Bush as I really do
> believe you undermime
How do you undermime something?
> American culture and should be banned from the US. I know people in
> congress and I will cc them too. I think that you foreigners should
> not be allowed to belittle Americans and behave so rudely.
No one belittled Americans. We tried to show an ignorant fool the error
of his ways, but he was not listening. The fact that he is from the
U.S.A. is of no relevance to the issues that were brought up.
> I really wish this server would be dissolved and re-built without
> the extremely rude people involved with its maintanence.
You really do not understand how the newsgroups work, do you?
Incidentally, Adelphia High Speed Internet and Google Groups will be
more concerned about your abusive behavior than anything else that was
said in these threads.
Sinan
PS: I know, I broke my promise.
------------------------------
Date: Sat, 26 Mar 2005 23:59:42 -0700
From: Chris Barts <chbarts+usenet@gmail.com>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <0NKdnZXWxN9-xNvfRVn-gg@onewest.net>
robic0@yahoo.com wrote:
> What does GPL, character class, Tail or personal insults have to do
> with anything
> this gentleman posted a question about?
What does this rant have to do with my comment, to which it is
apparently a follow-up?
> Obvious lurkers who have power trips.
As opposed to moronic whackadoos who have power trips?
> Keep this rude behaviour up and this group will dissolve
> I assure you.
Imminent Death of The Net Predicted!
Begone, loser. You are but a flyspeck on the long history of Usenet.
:plonk:
------------------------------
Date: Sun, 27 Mar 2005 07:56:45 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: $line = <FH> returns incomplete lines
Message-Id: <slrnd4dest.1ja.tadmc@magna.augustmail.com>
robic0@yahoo.com <robic0@yahoo.com> wrote:
> Folks welcome to nazi *lang* land
Godwin has finally signalled an end to this thread. It's about time.
> which mostly originates from 3rd
> world countries
> by people who steal American jobs.
Sounds like sour grapes to me.
Did your job get outsourced or something?
> I will cut and past my concerns to
> Google as well
Google has no responsibility for Usenet.
> as to my congressman and President Bush as I really do believe you
> undermime
> American culture and should be banned from the US. I know people in
> congress and I
> will cc them too.
Golly, we won't be able to sleep at night anymore for fear
of your formidable power being directed against us.
> I think
I have not seen much evidence of that thus far.
> that you foreigners should not be allowed to
> belittle Americans
Nearly all Americans are foreigners, unless you are
defending Native Americans.
> I really wish this server
There is no "this" server.
This newsgroup is on *thousands* of servers around the world.
> would be dissolved and
> re-built without
> the extremely rude people involved with its maintanence.
Nobody who has posted here is involved with its maintanence (sic).
You confuse "participation" with "maintenance".
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Fri, 25 Mar 2005 15:13:25 +0100
From: Matija Papec <mpapec@nohome.com>
Subject: Re: (",) Do You Want To Know For Sure You Are Going To Heaven?
Message-Id: <2t6841td15p7nrl3b3r6mfm78buj2p4had@4ax.com>
On 24 Mar 2005 22:59:55 -0800, "robic0@yahoo.com" <robic0@yahoo.com>
wrote:
>Is there anything that can be said of this?
Sure, <plonk>
------------------------------
Date: Fri, 25 Mar 2005 19:32:17 -0500
From: Wes Groleau <groleau+news@freeshell.org>
Subject: Re: (",) Do You Want To Know For Sure You Are Going To Heaven?
Message-Id: <3ajorgF6auhqtU1@individual.net>
robic0@yahoo.com wrote:
> Is there anything that can be said of this?
You just said nine words too many,
and I beat you by four.
--
Wes Groleau
http://freepages.rootsweb.com/~wgroleau/Wes
------------------------------
Date: 23 Mar 2005 05:58:20 -0800
From: "Yahav" <yahavba@gmail.com>
Subject: Re: == operator acts differently in perl 5.005_03 and 5.8.2
Message-Id: <1111586300.031886.161410@z14g2000cwz.googlegroups.com>
Hi jue
Thanks for your concerns, i've found another good solution.
Yahav
------------------------------
Date: 25 Mar 2005 06:58:00 -0800
From: "Xah Lee" <xah@xahlee.org>
Subject: [perl-python] limericks
Message-Id: <1111762680.267883.215740@l41g2000cwc.googlegroups.com>
Better:
there is a Python, pithy
mighty, lissome, and tabby
algorithms it puffs
conundrums it snuffs
and cherished by those savvy
there is a camel, kooky
ugly, petty, ungainly
hacking it supports
TIMTOWTDI it sports
and transports DWIM-wit's fancy
Xah
xah@xahlee.org
=E2=88=91 http://xahlee.org/PageTwo_dir/more.html
------------------------------
Date: Fri, 25 Mar 2005 22:19:21 -0500
From: Andras Malatinszky <nobody@dev.null>
Subject: Re: [perl-python] limericks
Message-Id: <_w41e.74579$SF.14703@lakeread08>
Xah Lee wrote:
> Better:
>
> there is a Python, pithy
> mighty, lissome, and tabby
> algorithms it puffs
> conundrums it snuffs
> and cherished by those savvy
>
>
> there is a camel, kooky
> ugly, petty, ungainly
> hacking it supports
> TIMTOWTDI it sports
> and transports DWIM-wit's fancy
>
> Xah
> xah@xahlee.org
> ∑ http://xahlee.org/PageTwo_dir/more.html
>
These "limericks" just don't work, do they? I mean, the number of
syllables is just way off, and then the rhymes are just plain wrong. By
all means, don't stop trying, but don't quit your day job yet.
------------------------------
Date: Sat, 26 Mar 2005 08:36:30 -0500
From: Roy Smith <roy@panix.com>
Subject: Re: [perl-python] limericks
Message-Id: <roy-DCAF23.08363026032005@reader1.panix.com>
In article <_w41e.74579$SF.14703@lakeread08>,
Andras Malatinszky <nobody@dev.null> wrote:
> Xah Lee wrote:
> > Better:
> >
> > there is a Python, pithy
> > mighty, lissome, and tabby
> > algorithms it puffs
> > conundrums it snuffs
> > and cherished by those savvy
> >
> >
> > there is a camel, kooky
> > ugly, petty, ungainly
> > hacking it supports
> > TIMTOWTDI it sports
> > and transports DWIM-wit's fancy
> >
> > Xah
> > xah@xahlee.org
> > ∑ http://xahlee.org/PageTwo_dir/more.html
> >
>
> These "limericks" just don't work, do they? I mean, the number of
> syllables is just way off, and then the rhymes are just plain wrong. By
> all means, don't stop trying, but don't quit your day job yet.
A poetry critic, Andras
In a huff at the tempo, alas!
The meter's too free,
So he's telling Xah Lee,
Nocturnal employment won't last!
------------------------------
Date: Sat, 26 Mar 2005 12:19:13 +0000 (UTC)
From: me-02@ton.iguana.be (Ton Hospel)
Subject: Re: [Q]: How to sort first abc, then 123?
Message-Id: <d23k01$al5$1@post.home.lunix>
I often use this
sub alnum_sort {
return map $_->[1], sort { $a->[0] cmp $b->[0]} map {
my $str = uc;
$str =~ s|(0*)(\d+)|pack("AN/A*N", "0", $2, length($1))|eg;
[$str, $_];
} @_;
}
which may or may not be what you want.
------------------------------
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 V10 Issue 7908
***************************************