[26532] in Perl-Users-Digest
Perl-Users Digest, Issue: 8679 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Nov 17 14:05:50 2005
Date: Thu, 17 Nov 2005 11:05:05 -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 Thu, 17 Nov 2005 Volume: 10 Number: 8679
Today's topics:
Re: [OT] Google Groups: vote for Default quoting <sherm@dot-app.org>
Re: [OT] Google Groups: vote for Default quoting <jurgenex@hotmail.com>
Re: [OT] Google Groups: vote for Default quoting <1usa@llenroc.ude.invalid>
Re: [OT] Google Groups: vote for Default quoting axel@white-eagle.invalid.uk
Re: [OT] Google Groups: vote for Default quoting axel@white-eagle.invalid.uk
Re: [OT] mail bouncing <noreply@gunnar.cc>
Re: parse email coming from outlook in html <richard@zync.co.uk>
Re: strange problem with system() and backtick operator <rvtol+news@isolution.nl>
Re: strange problem with system() and backtick operator <tadmc@augustmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Thu, 17 Nov 2005 09:38:02 -0500
From: Sherm Pendley <sherm@dot-app.org>
Subject: Re: [OT] Google Groups: vote for Default quoting
Message-Id: <m2oe4jcpbp.fsf@Sherm-Pendleys-Computer.local>
"Tassilo v. Parseval" <tassilo.von.parseval@rwth-aachen.de> writes:
> Does that mean that at some point people are allowed to randomly attach
> photos of their pets to usenet postings? Please, tell me this isn't so!
It depends on how it's implemented - although if Google's past history wrt
usenet is any indication, we're well and truly screwed.
The polite way to implement such a thing would be to allow such photos to
be stored on their servers, and write their client to read & write a custom
header that referred to them, such as "X-Google-Icon:" for instance.
What their past behavior leads me to expect from them is an attachment added
to every message. :-(
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
------------------------------
Date: Thu, 17 Nov 2005 15:26:46 GMT
From: "Jürgen Exner" <jurgenex@hotmail.com>
Subject: Re: [OT] Google Groups: vote for Default quoting
Message-Id: <Wi1ff.61517$MY4.15272@trnddc03>
John Bokma wrote:
> Imagine your Usenet server is down, and you have an urgent question
"Urgent" and "Usenet" are contradictions in terms. Be design Usenet is not
an instant response medium.
jue
------------------------------
Date: Thu, 17 Nov 2005 15:45:49 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: [OT] Google Groups: vote for Default quoting
Message-Id: <Xns97116D7EBEF91asu1cornelledu@127.0.0.1>
"Jürgen Exner" <jurgenex@hotmail.com> wrote in
news:Wi1ff.61517$MY4.15272@trnddc03:
> John Bokma wrote:
>> Imagine your Usenet server is down, and you have an urgent question
>
> "Urgent" and "Usenet" are contradictions in terms. Be design Usenet is
> not an instant response medium.
While that is correct, I think the case John is making is a valid one.
That is, if one is in a bind, it may be worthwhile to take the chance
that someone somewhere will able to respond. So long as the question is
posed according to the posting guidelines, the poster does not implore
others to respond by pointing out how urgently he needs an answer, the
chances are, the query will succeed, 'cause there's always someone awake
in some part of the world.
The problem is when ignorant fools start thinking that it is their right
to expect answers in a few minutes, and get into IRC chat mode on the
UseNet.
Sinan
--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(reverse each component and remove .invalid for email address)
comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
------------------------------
Date: Thu, 17 Nov 2005 17:36:56 GMT
From: axel@white-eagle.invalid.uk
Subject: Re: [OT] Google Groups: vote for Default quoting
Message-Id: <Yc3ff.28824$375.28358@fe3.news.blueyonder.co.uk>
Gunnar Hjalmarsson <noreply@gunnar.cc> wrote:
> Bernard El-Hagin wrote:
>> Abigail wrote:
>>> Either you make that post on behalf of your company, and then you should
>>> have a case to have the hole in the firewall, or you aren't, and then
>>> you shouldn't be posting from work anyway.
>> Ummm, why exactly?
> If you don't understand that, your employer may be able to provide a
> more tangible explanation. ;-)
I always had an ethical problem with that... not being able to contribute
to a news group seemed wrong if I were to use it to ask for advice
which helped me in my work.
Axel
------------------------------
Date: Thu, 17 Nov 2005 17:47:55 GMT
From: axel@white-eagle.invalid.uk
Subject: Re: [OT] Google Groups: vote for Default quoting
Message-Id: <fn3ff.28858$375.6957@fe3.news.blueyonder.co.uk>
Tassilo v. Parseval <tassilo.von.parseval@rwth-aachen.de> wrote:
> Also sprach Alan J. Flavell:
>> On Wed, 16 Nov 2005, John Bokma wrote:
>>> Google Groups let you vote for new features. Vote for default quoting:
>>> <http://tinyurl.com/aqe6y>
>>> "Default quoting of previous message in replies"
>> Well, I'm sorry, but they've let this go on for too long to be able to
>> take them seriously. Asking for votes now is just a way of seeking
>> attention for their services, AFAICS. If they'd learn some basic
>> netiquette and promote it to their users, then they'd be in a better
>> position. It doesn't need votes to do that.
> Furthermore, those default features to vote for sure are scary. Just
> look at the first item: Photo/File storage.
> Does that mean that at some point people are allowed to randomly attach
> photos of their pets to usenet postings? Please, tell me this isn't so!
A properly maintained news server will reject binary postings in
nonn-binary groups. In fact it was a Perl script whose name I
forget which I used to use on INN.
Axel
------------------------------
Date: Thu, 17 Nov 2005 18:02:38 +0100
From: Gunnar Hjalmarsson <noreply@gunnar.cc>
Subject: Re: [OT] mail bouncing
Message-Id: <3u3rdgFvo8h8U1@individual.net>
Dr.Ruud wrote:
> Gunnar Hjalmarsson:
>>I bounce all Comcast.net
>>messages with this link as an explanation:
>>http://gunnar.cc/bounce/?d=comcast.net
>
> "You appear to have sent a message via a mail server whose hostname ends
> with comcast.net."
>
> The 'appear' makes me wonder how you deduct that. Please don't trust the
> HELO or the MAIL FROM, but check the actual IP-nr of the sending mail
> server.
Yes, of course. But even if it's hard to fake the IP of the sending mail
server, I assume it _can_ be done; hence "appear". :) After all, most
of the recipients of my bounces are innocent victims of faked sender
addresses.
> Bouncing has many meanings. I assume that you mean it as in RFC 2821
> (where it has at least two meanings, the first is 'SMTP-reject').
>
> 554 Transaction failed (see http://gunnar.cc/bounce/?d=comcast.net)
Yep, that's how I do it.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
------------------------------
Date: Thu, 17 Nov 2005 14:15:20 GMT
From: Richard Gration <richard@zync.co.uk>
Subject: Re: parse email coming from outlook in html
Message-Id: <pan.2005.11.17.14.14.33.31150@zync.co.uk>
On Thu, 17 Nov 2005 16:44:34 +0800, syncwa wrote:
> Hi,
>
> What's the best way to parse email I got in HTML format?
> They are mostly from exchange outlook, but some of them are in plain
> text.
> I would like a way to detect if an email is HTML format, if so change
> it to plan text.
> Thanks
I'd use MIME::Tools to parse the email itself, this will give you a
(probably small) tree of objects representing the email. Walk the tree to
find out what you've got and in what format. MIME::Tools makes this
information readily available, once it has successfully parsed the email.
Once you have that you have to pick what you need out of it. Generally,
HTML::Parser is useful for this, but you might find something else more
useful depending on what you're after.
Rich
--
People demand freedom of speech to make up for the freedom of thought
which they avoid. - Soren Aabye Kierkegaard
------------------------------
Date: Thu, 17 Nov 2005 16:52:59 +0100
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: Re: strange problem with system() and backtick operator
Message-Id: <dlicoa.cc.1@news.isolution.nl>
Martin Kissner:
> What is the best way to use chmod if i have a number that is
> represented in decimal (i.e. 644)
That is not a decimal but an octal representation. It just doesn't have
the signs that it is an octal representation. Where do you get this
number from? Treat it as a string and use oct().
> but I need a number represented in octal with
> identical digits (0644).
$val = oct('644'); # $val is now the numeric value 420 (decimal)
printf "%#o\n", $val; # should print 0644
--
Affijn, Ruud
"Gewoon is een tijger."
------------------------------
Date: Thu, 17 Nov 2005 10:57:50 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: strange problem with system() and backtick operator
Message-Id: <slrndnpdke.b7s.tadmc@magna.augustmail.com>
Martin Kissner <news@chaos-net.de> wrote:
> Tad McClellan wrote :
>>Martin Kissner wrote:
>>
>> But you don't "have it" yet, so let's keep trying...
>
> Thank you for your help, I really appreciate it.
>>
>> There is an abstract concept called a "number".
> I think I understand.
Not yet...
> The question is:
> What is the best way to use chmod if i have a number that is represented
> in decimal (i.e. 644) but I need a number represented in octal with
> identical digits (0644).
Then what you need is a *different* number.
> --- aaahhhh ---
> While writing this, I think I really get it.
> If I want to use chmod with a number and I can only produce the decimal
> representation I need to use the decimal representation of 0644 which is
> 420.
Ding ding ding! We have a winner! :-)
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
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 8679
***************************************