[28251] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 9615 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Aug 17 14:06:23 2006

Date: Thu, 17 Aug 2006 11:05:26 -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           Thu, 17 Aug 2006     Volume: 10 Number: 9615

Today's topics:
        can't execute @SNMPGET@ on os/x box? <evan@theobvious.espphotography.com>
    Re: can't execute @SNMPGET@ on os/x box? <sherm@Sherm-Pendleys-Computer.local>
        Cross-site script question <some@body.com>
    Re: Cross-site script question <mgarrish@gmail.com>
    Re: Cross-site script question <1usa@llenroc.ude.invalid>
    Re: Cross-site script question <john@castleamber.com>
    Re: Cross-site script question <some@body.com>
    Re: Cross-site script question <some@body.com>
    Re: Cross-site script question <jurgenex@hotmail.com>
    Re: Cross-site script question <some@body.com>
    Re: Cross-site script question <some@body.com>
    Re: Cross-site script question <uri@stemsystems.com>
    Re: Cross-site script question <uri@stemsystems.com>
    Re: Cross-site script question <john@castleamber.com>
        Do I need to use perl? <markwco@RemoveNoSpamcomcast.net>
    Re: Do I need to use perl? <john@castleamber.com>
        example (was: Re: Help Perl and Excel--Multiposted) <rvtol+news@isolution.nl>
    Re: example (was: Re: Help Perl and Excel--Multiposted) usenet@DavidFilmer.com
        Free Url Redirection getvivekv@gmail.com
    Re: Help Perl and Excel--Multiposted usenet@DavidFilmer.com
    Re: Help Perl and Excel--Multiposted usenet@DavidFilmer.com
    Re: Help Perl and Excel--Multiposted usenet@DavidFilmer.com
    Re: Help Perl and Excel--Multiposted <john@castleamber.com>
    Re: Help Perl and Excel--Multiposted <john@castleamber.com>
    Re: Help Perl and Excel--Multiposted <benmorrow@tiscali.co.uk>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Wed, 16 Aug 2006 17:01:13 -0700
From: Evan Platt <evan@theobvious.espphotography.com>
Subject: can't execute @SNMPGET@ on os/x box?
Message-Id: <0ac7e2thtn9k26mpdjekh11hml1sr3r78u@4ax.com>

Trying to run NRG (snmp type data tool) on os/x box..

I've googled and searched the NRG site... If I missed this, please let
me know where to look. Installed NRG from port install. make
rediscover and notify ran fine.

The run-nrg that was generated with #!@PERL@ as the first line.

That right there gives a Command not found trying to execute.

I changed the first line to #!/opt/local/bin/perl , and now it
executes (well, sort of) but gives:

#-------------------------------------------------------------------------------
run-nrg 9214: started at Mon Aug 14 13:25:22 2006 (1155587122)
can't execute @SNMPGET@ -v2c -c public 192.168.1.2 system.sysUpTime.0
run-nrg: terminated on Mon Aug 14 13:25:22 2006 (1155587122)

I looked through the generated run-nrg, but I'd rather fix it rather
than band aid (i.e. go and modify run-nrg) unless that's what I need
to do.

I've put the script on my webserver:
http://www.espphotography.com/run-nrg.txt 

Any help appreciated.

Thanks.

Evan


------------------------------

Date: Wed, 16 Aug 2006 22:19:04 -0400
From: Sherm Pendley <sherm@Sherm-Pendleys-Computer.local>
Subject: Re: can't execute @SNMPGET@ on os/x box?
Message-Id: <m264gs14vb.fsf@Sherm-Pendleys-Computer.local>

Evan Platt <evan@theobvious.espphotography.com> writes:

> Trying to run NRG (snmp type data tool) on os/x box..
>
> I've googled and searched the NRG site... If I missed this, please let
> me know where to look. Installed NRG from port install. make
> rediscover and notify ran fine.
>
> The run-nrg that was generated with #!@PERL@ as the first line.
>
> That right there gives a Command not found trying to execute.
>
> I changed the first line to #!/opt/local/bin/perl , and now it
> executes (well, sort of) but gives:
>
> #-------------------------------------------------------------------------------
> run-nrg 9214: started at Mon Aug 14 13:25:22 2006 (1155587122)
> can't execute @SNMPGET@ -v2c -c public 192.168.1.2 system.sysUpTime.0
> run-nrg: terminated on Mon Aug 14 13:25:22 2006 (1155587122)

Looks to me like it did *not* build fine. There are multiple places where a
placeholder - that's the @FOO@ stuff, with leading and trailing ats - wasn't
expanded in run-nrg. It looks like it was simply copied as-is, without any
expansions.

I'd ask the port maintainer and/or in a forum dedicated to NRG about why the
placeholders in run-nrg aren't being expanded properly.

sherm--

-- 
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


------------------------------

Date: Wed, 16 Aug 2006 18:45:01 -0400
From: somebody <some@body.com>
Subject: Cross-site script question
Message-Id: <B7ednbFQXKJwAn7ZnZ2dnUVZ_qSdnZ2d@giganews.com>

I've been informed of a cross-site scripting vulnerability.
Given the example of this exploit below, how to you prevent
this from being passed to the perl cgi script myscript.cgi?
Normally the script would be called with only:

http://www.somedomain.com:/cgi-bin/myscript.cgi


This is how myscript.cgi is exploited:

http://www.somedomain.com:/cgi-bin/myscript.cgi/(PostData)submit=Submit&type=1.7&solve_for=%22%3e%3cscript%3ealert('spid')%3c%2fscript%3e


-Thanks



------------------------------

Date: 16 Aug 2006 16:07:06 -0700
From: "Matt Garrish" <mgarrish@gmail.com>
Subject: Re: Cross-site script question
Message-Id: <1155769626.119879.268170@b28g2000cwb.googlegroups.com>


somebody wrote:

> I've been informed of a cross-site scripting vulnerability.
> Given the example of this exploit below, how to you prevent
> this from being passed to the perl cgi script myscript.cgi?
> Normally the script would be called with only:
>
> http://www.somedomain.com:/cgi-bin/myscript.cgi
>
>
> This is how myscript.cgi is exploited:
>
> http://www.somedomain.com:/cgi-bin/myscript.cgi/(PostData)submit=Submit&type=1.7&solve_for=%22%3e%3cscript%3ealert('spid')%3c%2fscript%3e
> 

Removing line 12 has always worked for me.

Matt



------------------------------

Date: Wed, 16 Aug 2006 23:11:05 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: Cross-site script question
Message-Id: <Xns9821C342DCF4Basu1cornelledu@127.0.0.1>

somebody <some@body.com> wrote in
news:B7ednbFQXKJwAn7ZnZ2dnUVZ_qSdnZ2d@giganews.com: 

> I've been informed of a cross-site scripting vulnerability.
> Given the example of this exploit below, how to you prevent
> this from being passed to the perl cgi script myscript.cgi?
> Normally the script would be called with only:
> 
> http://www.somedomain.com:/cgi-bin/myscript.cgi
> 
> 
> This is how myscript.cgi is exploited:
> 
> http://www.somedomain.com:/cgi-bin/myscript.cgi/(PostData)submit=Submit
> &type=1.7&solve_for=%22%3e%3cscript%3ealert('spid')%3c%2fscript%3e 

Your post has no Perl content and is thus not topical here.

Try comp.infosystems.www.authoring.cgi

Sinan
-- 
A. Sinan Unur <1usa@llenroc.ude.invalid>
(remove .invalid and reverse each component for email address)

comp.lang.perl.misc guidelines on the WWW:
http://augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html



------------------------------

Date: 16 Aug 2006 23:39:20 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: Cross-site script question
Message-Id: <Xns9821BDC3EB37Ecastleamber@130.133.1.4>

somebody <some@body.com> wrote:

> I've been informed of a cross-site scripting vulnerability.
> Given the example of this exploit below, how to you prevent
> this from being passed to the perl cgi script myscript.cgi?
> Normally the script would be called with only:
> 
> http://www.somedomain.com:/cgi-bin/myscript.cgi
> 
> 
> This is how myscript.cgi is exploited:
> 
> http://www.somedomain.com:/cgi-bin/myscript.cgi/(PostData)submit=Submit
> &type=1.7&solve_for=%22%3e%3cscript%3ealert('spid')%3c%2fscript%3e 

- don't use somedomain.com, use example.com for examples.

- in a script do:

    	#!/usr/bin/perl
    	print "Content-type: text/plain\n\n";
    	print "$_ = '$ENV{ $_ }'\n" for keys %ENV;

(untested code)

and check the difference between both methods.


-- 
John Bokma          Freelance software developer
                                &
                    Experienced Perl programmer: http://castleamber.com/


------------------------------

Date: Wed, 16 Aug 2006 23:05:08 -0400
From: somebody <some@body.com>
Subject: Re: Cross-site script question
Message-Id: <uZqdnR2H16h5QX7ZnZ2dnUVZ_tydnZ2d@giganews.com>

On Wed, 16 Aug 2006 16:07:06 -0700, Matt Garrish wrote:

> Removing line 12 has always worked for me.
> 
> Matt

Asshole.


------------------------------

Date: Wed, 16 Aug 2006 23:05:45 -0400
From: somebody <some@body.com>
Subject: Re: Cross-site script question
Message-Id: <uZqdnRyH16iUQH7ZnZ2dnUVZ_tydnZ2d@giganews.com>

On Wed, 16 Aug 2006 23:11:05 +0000, A. Sinan Unur wrote:

> Your post has no Perl content and is thus not topical here.
> 
> Try comp.infosystems.www.authoring.cgi
> 
> Sinan


I mentioned in my post that they were perl cgi scripts.



------------------------------

Date: Thu, 17 Aug 2006 03:10:38 GMT
From: "Jürgen Exner" <jurgenex@hotmail.com>
Subject: Re: Cross-site script question
Message-Id: <O6REg.65567$u05.63046@trnddc01>

somebody wrote:

Hi Nobody

> On Wed, 16 Aug 2006 16:07:06 -0700, Matt Garrish wrote:
>> Removing line 12 has always worked for me.
>
> Asshole.

*PLONK*

jue 




------------------------------

Date: Wed, 16 Aug 2006 23:12:31 -0400
From: somebody <some@body.com>
Subject: Re: Cross-site script question
Message-Id: <uZqdnR-H16gCQ37ZnZ2dnUVZ_tydnZ2d@giganews.com>

On Thu, 17 Aug 2006 03:10:38 +0000, Jürgen Exner wrote:

> *PLONK*
> 
> jue

You're an asshole as well.


------------------------------

Date: Wed, 16 Aug 2006 23:23:09 -0400
From: somebody <some@body.com>
Subject: Re: Cross-site script question
Message-Id: <d-WdnV_FRuWAfH7ZnZ2dnUVZ_r6dnZ2d@giganews.com>

On Wed, 16 Aug 2006 23:39:20 +0000, John Bokma wrote:
> - in a script do:
> 
>     	#!/usr/bin/perl
>     	print "Content-type: text/plain\n\n";
>     	print "$_ = '$ENV{ $_ }'\n" for keys %ENV;
> 
> (untested code)
> 
> and check the difference between both methods.


I'm not sure what you mean by "both" methods.
Can you please elaborate?


-Thank you


------------------------------

Date: Thu, 17 Aug 2006 00:10:09 -0400
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Cross-site script question
Message-Id: <x7lkpo0zq6.fsf@mail.sysarch.com>

>>>>> "s" == somebody  <some@body.com> writes:

  s> On Thu, 17 Aug 2006 03:10:38 +0000, Jürgen Exner wrote:
  >> *PLONK*
  >> 
  >> jue

  s> You're an asshole as well.

such wit. must be that half of you is full of wit.

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org


------------------------------

Date: Thu, 17 Aug 2006 00:11:05 -0400
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Cross-site script question
Message-Id: <x7hd0c0zom.fsf@mail.sysarch.com>

>>>>> "s" == somebody  <some@body.com> writes:

  s> On Wed, 16 Aug 2006 23:39:20 +0000, John Bokma wrote:
  >> - in a script do:
  >> 
  >> #!/usr/bin/perl
  >> print "Content-type: text/plain\n\n";
  >> print "$_ = '$ENV{ $_ }'\n" for keys %ENV;
  >> 
  >> (untested code)
  >> 
  >> and check the difference between both methods.


  s> I'm not sure what you mean by "both" methods.
  s> Can you please elaborate?

calling regulars here assholes won't win you friends or any help.

hope you are happy with your results here.

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org


------------------------------

Date: 17 Aug 2006 04:23:33 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: Cross-site script question
Message-Id: <Xns9821EDF365879castleamber@130.133.1.4>

somebody <some@body.com> wrote:

> On Wed, 16 Aug 2006 23:39:20 +0000, John Bokma wrote:
>> - in a script do:
>> 
>>          #!/usr/bin/perl
>>          print "Content-type: text/plain\n\n";
>>          print "$_ = '$ENV{ $_ }'\n" for keys %ENV;
>> 
>> (untested code)
>> 
>> and check the difference between both methods.
> 
> 
> I'm not sure what you mean by "both" methods.
> Can you please elaborate?

for the sake of other readers [1] who might have the same question:

http://www.example.com:/cgi-bin/myscript.cgi

v.s.

http://www.example.com:/cgi-bin/myscript.cgi/(PostData)submit=....

if the latter is correct, pay special attention to $ENV{ PATH_INFO } and 
$ENV{ REQUEST_METHOD }.

However, if the script is abused you probably should fix it in other ways 
if people can abuse it by just supplying the right information in the 
right way.


[ 1 ] if you don't like a reply ignore it, remember YOU need free help.

      By calling people names your messages might get ignored by
      exactly those people who might be tempted to help you FOR FREE in 
      their OWN SPARE TIME.

-- 
John                Experienced Perl programmer: http://castleamber.com/

          Perl help, tutorials, and examples: http://johnbokma.com/perl/


------------------------------

Date: Wed, 16 Aug 2006 22:11:41 -0600
From: MarkW <markwco@RemoveNoSpamcomcast.net>
Subject: Do I need to use perl?
Message-Id: <72r7e29s7tik341ugqh6qj8d3618bn2294@4ax.com>

I hope this is the correct place to post this:
I am developing a web site for a e-commerce business I will be
running.  The site I'm setting up will be 50% store, 50% content.  I'm
not sure which shopping cart I'll be using yet (am looking at
os-commerce and miva) but the other part will be content.  I will be
writing reviews of products, articles on the industry, and someday may
have some blogging and forums and advertising.   I have to add that I
am not much into programming and I want a good web site but most of
all what is important to me is ease of use and a easy to update web
page.  I will be using Macromeda Studio 8 to develop it (dreamweaver
and flash)
As for perl, years ago I looked at writing web pages. I never did it
but remember back thing perl was the big thing.  it was used for CGi
scripts.  is it still used a lot?  I seem to read about PHP a lot now.
Has that replaced Perl and are CGI Scripts still used?


------------------------------

Date: 17 Aug 2006 04:29:47 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: Do I need to use perl?
Message-Id: <Xns9821EF01E613castleamber@130.133.1.4>

MarkW <markwco@RemoveNoSpamcomcast.net> wrote:

> I hope this is the correct place to post this:
> I am developing a web site for a e-commerce business I will be
> running.  The site I'm setting up will be 50% store, 50% content.  I'm
> not sure which shopping cart I'll be using yet (am looking at
> os-commerce and miva) but the other part will be content.  I will be
> writing reviews of products, articles on the industry, and someday may
> have some blogging and forums and advertising.   I have to add that I
> am not much into programming and I want a good web site but most of
> all what is important to me is ease of use and a easy to update web
> page.  I will be using Macromeda Studio 8 to develop it (dreamweaver
> and flash)

Look for an application that runs on your website. Dreamweaver is more a 
design tool IIRC so you might want to do the design work in DW, and 
transfer the final design to the template system that such a web 
application uses. For blogging you might want to check out WordPress, for 
forums phpBB is very popular, but there might be better applications that 
suit you.

Most shopping systems come with a CMS, and hence can be considered equal 
to the "web application" I mentioned in the previous paragraph. Shopping 
around (no pun intended) in the right places (hence not here) might help 
you in the decision process.

> As for perl, years ago I looked at writing web pages. I never did it
> but remember back thing perl was the big thing.  it was used for CGi
> scripts.  is it still used a lot?  I seem to read about PHP a lot now.
> Has that replaced Perl and are CGI Scripts still used?

I have no idea how you want to measure a lot. Slashdot is a very big 
website with a lot of visitors and uses Perl. If you mean do a large 
percentage of websites still use Perl for dynamic pages I am afraid the 
answer is no. PHP has replaced a lot of Perl. Note that Perl is not 
limited to CGI on websites, there is also mod_perl.

And recently Perl is probably replaced more by frameworks like Ruby on 
Rails.

-- 
John                Experienced Perl programmer: http://castleamber.com/

          Perl help, tutorials, and examples: http://johnbokma.com/perl/


------------------------------

Date: Thu, 17 Aug 2006 00:58:57 +0200
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: example (was: Re: Help Perl and Excel--Multiposted)
Message-Id: <ec0f17.1fc.1@news.isolution.nl>

usenet@DavidFilmer.com schreef:
> Dr.Ruud:

>> The Subject could be changed to
>> Subject: *multiposted* (was: <old-subject>)
>> so it has the " (was: ...)" as Son-of-RFC1036 mentions.
>
> I'll take your word for it on that spec (spec of a spec?).  When you
> say '<old-subject>' do you literally mean to enclose the old-subject
> in <>'s?

No, see Subject of this message.

With ultra-long subject header fields, some people chop of a part and
insert a " ..." as the last thing before the closing ")", but I don't
think you'll need that.


> So I can do this:
>
>    $subject = "*multiposted* (was: <$subject>)";

So that becomes:

    $subject = "-multiposted- (was: $subject)";

There are even news-clients that parse that, as part of their threading
attempts, if better means like the References are absent.


> But I wonder if some folks might consider the stars a bit heavy?
> Maybe "-multiposted-" would be a little lighter?

Yes, lighter is better.

And maybe some clients will translate it to strike-through. <g>

-- 
Affijn, Ruud

"Gewoon is een tijger."




------------------------------

Date: 16 Aug 2006 17:10:58 -0700
From: usenet@DavidFilmer.com
Subject: Re: example (was: Re: Help Perl and Excel--Multiposted)
Message-Id: <1155773458.334009.316170@i42g2000cwa.googlegroups.com>

Dr.Ruud wrote:
> So that becomes:
>     $subject = "-multiposted- (was: $subject)";

Done, thanks.

> And maybe some clients will translate it to strike-through. <g>

Ha!  Wouldn't that be just perfect?

-- 
David Filmer (http://DavidFilmer.com)



------------------------------

Date: 17 Aug 2006 06:57:07 -0700
From: getvivekv@gmail.com
Subject: Free Url Redirection
Message-Id: <1155823027.540833.266040@i42g2000cwa.googlegroups.com>

New Free Url Redirection service with no ads.

Free URL Masking or Url Clockig Service

Check out : http://www.BuenaVis.org/Redirect



------------------------------

Date: 16 Aug 2006 15:21:04 -0700
From: usenet@DavidFilmer.com
Subject: Re: Help Perl and Excel--Multiposted
Message-Id: <1155766863.944572.109420@i42g2000cwa.googlegroups.com>

Sherm Pendley wrote:
> I'm using GigaNews - the References: headers are definitely there. But,
> the bot messages are being displayed as new threads instead of followups.

OK, on my GigaNews account using my slrn newsreader all looks fine -
the bot's reply is a followup grouped in the same thread.

What newsreader are you using?  I wonder if your reader assumes that
new Subject fields mean new message threads, regardless of the other
header info?  (because I DO change the Subject field).  That's the only
thing that readily comes to mind... I'd like to test using your
newsreader.

All of my initial bot testing (in alt.test.test, alt.test.testing, and
alt.test2) was done using slrn and GoogleGroups, and those readers (if
you can call GG a reader) behave as I expected.  But I did notice that
GG groups identical subject lines in the same thread, even if Reply and
References headers are undefined (which is unrelated to this issue, but
it is odd).

-- 
David Filmer (http://DavidFilmer.com)



------------------------------

Date: 16 Aug 2006 15:26:02 -0700
From: usenet@DavidFilmer.com
Subject: Re: Help Perl and Excel--Multiposted
Message-Id: <1155767161.984292.103760@h48g2000cwc.googlegroups.com>

John Bokma wrote:
> Also, I have the feeling that those extra spaces are picked up by some clients

You may be right (GG and slrn ignore them, but there's no accounting
for what some folks use for a newsreader. Who knows what Pine might
do?)  I had the header template all nice and lined-up in my editor, but
it's probably better to just use a single space. That's a cheap and
easy bit of extra insurance, and this has been done.

-- 
David Filmer (http://DavidFilmer.com)



------------------------------

Date: 16 Aug 2006 15:33:56 -0700
From: usenet@DavidFilmer.com
Subject: Re: Help Perl and Excel--Multiposted
Message-Id: <1155767636.807686.46420@i3g2000cwc.googlegroups.com>

Dr.Ruud wrote:
> The Subject could be changed to
> Subject: *multiposted* (was: <old-subject>)
> so it has the " (was: ...)" as Son-of-RFC1036 mentions.

I'll take your word for it on that spec (spec of a spec?).  When you
say '<old-subject>' do you literally mean to enclose the old-subject in
<>'s?

So I can do this:

   $subject = "*multiposted* (was: <$subject>)";

But I wonder if some folks might consider the stars a bit heavy?  Maybe
"-multiposted-" would be a little lighter?

-- 
David Filmer (http://DavidFilmer.com)



------------------------------

Date: 16 Aug 2006 23:21:43 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: Help Perl and Excel--Multiposted
Message-Id: <Xns9821BAC71565castleamber@130.133.1.4>

usenet@DavidFilmer.com wrote:

> I had the header template all nice and lined-up in my editor,
> but it's probably better to just use a single space. That's a cheap
> and easy bit of extra insurance, and this has been done.

Thanks. You might be right that the clients are doing things wrong, but 
it's an easy fix :-)

-- 
John Bokma          Freelance software developer
                                &
                    Experienced Perl programmer: http://castleamber.com/


------------------------------

Date: 16 Aug 2006 23:24:25 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: Help Perl and Excel--Multiposted
Message-Id: <Xns9821BB3C0E81castleamber@130.133.1.4>

usenet@DavidFilmer.com wrote:

> Dr.Ruud wrote:
>> The Subject could be changed to
>> Subject: *multiposted* (was: <old-subject>)
>> so it has the " (was: ...)" as Son-of-RFC1036 mentions.
> 
> I'll take your word for it on that spec (spec of a spec?).  When you
> say '<old-subject>' do you literally mean to enclose the old-subject in
> <>'s?
> 
> So I can do this:
> 
>    $subject = "*multiposted* (was: <$subject>)";
> 
> But I wonder if some folks might consider the stars a bit heavy?  Maybe
> "-multiposted-" would be a little lighter?

I would go for

length( $subject ) > 60 and $subject = substr( $subject, 0, 54 ) . "...";
$subject = "Multiposted (was: $subject )";

_/* makes creating a regexp for kill filter maybe a bit hard for some :-)

-- 
John Bokma          Freelance software developer
                                &
                    Experienced Perl programmer: http://castleamber.com/


------------------------------

Date: Thu, 17 Aug 2006 02:57:53 +0100
From: Ben Morrow <benmorrow@tiscali.co.uk>
Subject: Re: Help Perl and Excel--Multiposted
Message-Id: <12vcr3-ile.ln1@osiris.mauzo.dyndns.org>


Quoth "A. Sinan Unur" <1usa@llenroc.ude.invalid>:
> usenet@DavidFilmer.com wrote in
> news:1155759179.706268.317300@b28g2000cwb.googlegroups.com:
> > use...@DavidFilmer.com wrote:
> >> What newsreader are you using? I'd like to do some testing...
> > 
> > Would you mind showing me exactly what the header looks like in your
> > reader?
> 
> I am using XNews/2006.06.28 on Windows. 
> 
> So far, only this message is shown in a separate thread in 
> comp.lang.perl.misc. However, it is shown in the same thread
> in comp.lang.perl.modules. Anyway, here are the full headers 
> as shown in XNews per your request:
> 
[snip]
> References:  <1155734886.904771.90710@m73g2000cwd.googlegroups.com>
> <1155734715.639289.223700@p79g2000cwp.googlegroups.com>
> In-Reply-To: <1155734886.904771.90710@m73g2000cwd.googlegroups.com>

In a typical threaded message, I-R-T is the *last* msgid in References,
so perhaps XNews is (wrongly) assuming the threading is erroneous when
this is not the case. FWIW, trn threads it correctly in clpmisc (I don't
read clpmodules).

[snip]
> "Kahan" <shethaa2000@gmail.com> wrote:
> >> [ snip multiposted message ]
> 
> This message has been multiposted as indicated by these message IDs:
>    <news:1155734886.904771.90710@m73g2000cwd.googlegroups.com>
>    <news:1155734715.639289.223700@p79g2000cwp.googlegroups.com>

Adding the groups would be helpful here, perhaps something like

    This message has been posted several times as separate articles;
        in comp.lang.perl.misc
            as <.....>,
        and in comp.lang.perl.modules
            as <.....>.

(Getting the punctuation right would be a Good Thing.)

> Multiposting is

Perhaps

    This practice, known as 'multiposting', is

> generally considered impolite in usenet.

'Usenet', shirly?

> For an
> explanation, please see:
> 
>    http://www.cs.tut.fi/~jkorpela/usenet/xpost.html
> 
> -- 
> msg_hash: 88 - 6d4a723abc2990d7a0306c3a684f8a6b

This message is a big improvement on the original; to the extent that
I'm reconsidering my opinion of the bot :). The removal of 'please burn
this thread' and the general appearance of politely providing
information rather than issuing edicts made the most of the difference.

Ben

-- 
"Faith has you at a disadvantage, Buffy."
"'Cause I'm not crazy, or 'cause I don't kill people?"
"Both, actually."
                                                  [benmorrow@tiscali.co.uk]


------------------------------

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 9615
***************************************


home help back first fref pref prev next nref lref last post