[24886] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 7138 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Sep 14 14:22:33 2004

Date: Tue, 14 Sep 2004 11:20:22 -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, 14 Sep 2004     Volume: 10 Number: 7138

Today's topics:
    Re: extract a column from 2 dimensional array (Andres Monroy-Hernandez)
    Re: Help with 'system' seeming to return too soon... <justme@fakedomain.net>
    Re: Network Scanner (Chad Brown)
        Perl CBT? (ft4bredn)
    Re: Perl CBT? (Andres Monroy-Hernandez)
        Perl equiv to ICU BreakIterator <william@wilbur.25thandClement.com>
        Problem with global text search using Regular Expressio (Jayal)
    Re: Problem with global text search using Regular Expre <1usa@llenroc.ude.invalid>
    Re: Problem with global text search using Regular Expre <matthew.garrish@sympatico.ca>
        Statistics for comp.lang.perl.misc <gbacon@hiwaay.net>
    Re: use CGI qw(:standard) ??? (krakle)
    Re: Xah Lee's Unixism <spam@nimblegen.com>
    Re: Xah Lee's Unixism <wyrmwif@tango-sierra-oscar-foxtrot-tango.fake.org>
    Re: Xah Lee's Unixism <wyrmwif@tango-sierra-oscar-foxtrot-tango.fake.org>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: 13 Sep 2004 20:29:45 -0700
From: andres@monroy.com (Andres Monroy-Hernandez)
Subject: Re: extract a column from 2 dimensional array
Message-Id: <3591b31a.0409131929.5941ee43@posting.google.com>

If I understand correctly you have:
my @two_d_array = ( [an, array], [yet, another, one]);

and you want the column $i:
my @one_d_array = map { $_->[$i] } @two_d_array;

Regards

--
Andrés Monroy-Hernández


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

Date: Mon, 13 Sep 2004 22:23:44 GMT
From: MPB <justme@fakedomain.net>
Subject: Re: Help with 'system' seeming to return too soon...
Message-Id: <opseadtuw954150k@pls026981.mw.nos.boeing.com>

On Mon, 13 Sep 2004 13:45:43 -0600, Arne Jamtgaard <ajamtgaa@cisco.com> wrote:

> Scott W Gifford wrote:
>
> This has got to be a problem that others have surmounted - how can
> you use 'system' to run a command with a bunch of environment
> variables already set?

	Write all the commands to a temporary file and
	use the Perl "system" command to "execute" that file.

		Mike


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

Date: 13 Sep 2004 17:01:10 -0700
From: chad@wononline.net (Chad Brown)
Subject: Re: Network Scanner
Message-Id: <ea150da0.0409131601.71b41d0a@posting.google.com>

ChrisO <ceo@nospam.on.net> wrote in message news:<d_N0d.41$H56.15@newssvr16.news.prodigy.com>...
> Chad Brown wrote:
> > ChrisO <ceo@nospam.on.net> wrote in message news:<8hm0d.9623$ZC7.3452@newssvr19.news.prodigy.com>...
> > 
> >>Chad Brown wrote:
> >>
> >>>I put together a script for scaning a network. Features are DNS
> >>>resolution, selective port scan, scanning of multiple addresses at one
> >>>time, and ping sweep. Ports can be customized depending on what is
> >>>being sought on a network. If anyone decides to add more ideas to this
> >>>please send me a copy. Im very interested in input. (:
> >>>
> >>
> >>Are you doing this for a learning exercise?  Because there are already 
> >>mature, open source network scanners that even a mature, very 
> >>knowledgable Perl developer would be hard put to match.
> >>
> > 
> > Im well aware of the existence of other scanners. I put this together
> > so that I could add more stuff onto it and customize and possibly get
> > other scripts to work with it.
> > 
> > And about the mature... This project is "YES"... a learning
> > exercise... I wouldnt have took it on if I have seen other scanners
> > out there. I was looking for constructive help not critisism. Also as
> > the post says I was looking for ideas. This is not a cocky display of
> > junky code... Yea im not the best at perl.
> 
> My post wasn't intended to be critical nor as an insult but rather 
> intended to alert you to the presence of existing solutions in the event 
> you were unaware.  Most people are happy to be provided with this sort 
> of input.
> 
> I also don't recall making light of your code.  Though I stand by my 
> assertion that the exercise is pointless outside of a learning exercise 
> even for an experienced Perl coder.  Customization, which you claim as 
> the virtue of your efforts, is precisely what is built into many of the 
> existing scanners to which I have already alluded and have callable 
> interfaces.
> 
> Nevertheless, don't consider even this message an attempt to "poo-poo" 
> your efforts.  I for one practically re-wrote 'fetchmail' using Perl, 
> but only because I wasn't already aware of fetchmail.  I would have been 
> grateful to have had someone point out its existance so I wouldn't have 
> spent all my time re-writing it in Perl.  I learned alot from the effort 
> however...  So in that case, this sort of thing is never a "waste."
> 
> Anyway, try not to get all "huffy"...  If it's valuable to you, then by 
> all means, have a hearty go at it.
> 
> -ceo

Its no problem... just misinterpreted it because of the shortness of the message.


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

Date: Mon, 13 Sep 2004 22:22:59 GMT
From: none@anytime.net (ft4bredn)
Subject: Perl CBT?
Message-Id: <75p1d.2185$fA1.825@lakeread02>

Anyone know of a Perl CBT? I am trying to learn Perl by reading 
O'Reily's Learning Perl, but there are not enough examples or 
projects in it for me to grasp and retain eveything that is going 
on. As it stands, I have had to read a chapter, the read all the 
one before it, go to thenext chapter, then read all the ones before 
it also.. It's just not sinking in reading the same chapters over 
and over, but other books seem way over my head... I am just 
looking for something a little more interactive. I'd a "doer" kinda 
learner.. Thanks for your time! ft4bredn

----------------------------------------------
Posted with NewsLeecher v1.0 beta 26
 * Binary Usenet Leeching Made Easy
 * http://www.newsleecher.com/?usenet
----------------------------------------------



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

Date: 13 Sep 2004 20:13:34 -0700
From: andres@monroy.com (Andres Monroy-Hernandez)
Subject: Re: Perl CBT?
Message-Id: <3591b31a.0409131913.76640404@posting.google.com>

If you like hands-on examples, maybe you might like the O'Reilly Cookbook:
http://www.oreilly.com/catalog/cookbook/

It's all about examples on how to do very specific things.

--
Andrés Monroy-Hernandez


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

Date: Mon, 13 Sep 2004 15:32:53 -0700
From: William Ahern <william@wilbur.25thandClement.com>
Subject: Perl equiv to ICU BreakIterator
Message-Id: <lpjh12-qc6.ln1@wilbur.25thandClement.com>

Is there a Perl equivalent (in CORE or a module) which will allow me to
iterator over words. The gotcha is that it should support I18N, including
CJK languages. The purpose is for tokenization for a Bayesian system.

I'm looking for something similar to IBM's ICU BreakIterator functionality
(available in C, C++ and Java, but of course not Perl :(

http://oss.software.ibm.com/icu/docs/papers/text_boundary_analysis_in_java/

I had hoped that /\b/ would "just work", but it doesn't seem to know much
about UTR #29. And String::Multibyte doesn't look promosing either. It's
split() method doesn't allow patterns, and thus I suppose doesn't allow a
way to split a string into words (of course, figuring out how to get a
"full" string to split on is another hurdle).

TIA,

Bill


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

Date: 13 Sep 2004 15:52:17 -0700
From: jayalmehta@hotmail.com (Jayal)
Subject: Problem with global text search using Regular Expressions
Message-Id: <e3932667.0409131452.6b9044a1@posting.google.com>

Hi
I am trying to perform a global search in a string using regular
expressions.

consider the string

"attgccgccgccatt"
If I wish to search for the string "ccgcc" within it, if I use the
operation given below, I would get only one find

$a =~ /ccgcc/g;
$location = pos......

which would be the find match. 
What do I do if I want to get both occurances?

I also tried the index() function but that does not allow use of
regular expressions. Is there any function available for this?

Thank you in advance

Jayal


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

Date: 13 Sep 2004 23:10:48 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: Problem with global text search using Regular Expressions
Message-Id: <Xns9563C31CA8619asu1cornelledu@132.236.56.8>

jayalmehta@hotmail.com (Jayal) wrote in news:e3932667.0409131452.6b9044a1
@posting.google.com:

> Hi
> I am trying to perform a global search in a string using regular
> expressions.
> 
> consider the string
> 
> "attgccgccgccatt"
> If I wish to search for the string "ccgcc" within it, if I use the
> operation given below, I would get only one find
> 
> $a =~ /ccgcc/g;
> $location = pos......
> 
> which would be the find match. 
> What do I do if I want to get both occurances?

You'll need to read up on your Perl regexes. There 'ccgcc' occurs only 
once in the string above. Once a match is made, the search for a next one 
does starts at the third 'g' in the source string.

That is, 

my $s = 'attgccgccgccatt';

while( $s =~ /ccgcc/g ) {
    print 'Position: ', pos $s, "\n";
}

will only print 9.

I remember seeing something to deal with this kind of a situation in the 
Cookbook, but I cannot remember how it is done.

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



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

Date: Mon, 13 Sep 2004 19:48:07 -0400
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: Problem with global text search using Regular Expressions
Message-Id: <Vkq1d.7117$0h7.553864@news20.bellglobal.com>


"A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message 
news:Xns9563C31CA8619asu1cornelledu@132.236.56.8...
> jayalmehta@hotmail.com (Jayal) wrote in news:e3932667.0409131452.6b9044a1
> @posting.google.com:
>
>> Hi
>> I am trying to perform a global search in a string using regular
>> expressions.
>>
>> consider the string
>>
>> "attgccgccgccatt"
>> If I wish to search for the string "ccgcc" within it, if I use the
>> operation given below, I would get only one find
>>
>> $a =~ /ccgcc/g;
>> $location = pos......
>>
>> which would be the find match.
>> What do I do if I want to get both occurances?
>
> You'll need to read up on your Perl regexes. There 'ccgcc' occurs only
> once in the string above. Once a match is made, the search for a next one
> does starts at the third 'g' in the source string.
>
> That is,
>
> my $s = 'attgccgccgccatt';
>
> while( $s =~ /ccgcc/g ) {
>    print 'Position: ', pos $s, "\n";
> }
>
> will only print 9.
>
> I remember seeing something to deal with this kind of a situation in the
> Cookbook, but I cannot remember how it is done.
>

You can reset pos after the match. In this case, you'd set it back two 
characters to match the next ccgcc:

my $s = 'attgccgccgccatt';

while( $s =~ /ccgcc/g ) {
    print 'Position: ', pos $s, "\n";
    pos($s) -= 2;
}

Matt 




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

Date: Mon, 13 Sep 2004 22:08:10 -0000
From: Greg Bacon <gbacon@hiwaay.net>
Subject: Statistics for comp.lang.perl.misc
Message-Id: <10kc6iap0o9tdb2@corp.supernews.com>

Following is a summary of articles spanning a 7 day period,
beginning at 06 Sep 2004 22:09:40 GMT and ending at
13 Sep 2004 21:49:08 GMT.

Notes
=====

    - A line in the body of a post is considered to be original if it
      does *not* match the regular expression /^\s{0,3}(?:>|:|\S+>|\+\+)/.
    - All text after the last cut line (/^-- $/) in the body is
      considered to be the author's signature.
    - The scanner prefers the Reply-To: header over the From: header
      in determining the "real" email address and name.
    - Original Content Rating (OCR) is the ratio of the original content
      volume to the total body volume.
    - Find the News-Scan distribution on the CPAN!
      <URL:http://www.perl.com/CPAN/modules/by-module/News/>
    - Please send all comments to Greg Bacon <gbacon@cs.uah.edu>.
    - Copyright (c) 2004 Greg Bacon.
      Verbatim copying and redistribution is permitted without royalty;
      alteration is not permitted.  Redistribution and/or use for any
      commercial purpose is prohibited.

Excluded Posters
================

perlfaq-suggestions\@(?:.*\.)?perl\.com
faq\@(?:.*\.)?denver\.pm\.org
comdog\@panix\.com

Totals
======

Posters:  187
Articles: 577 (233 with cutlined signatures)
Threads:  102
Volume generated: 1267.3 kb
    - headers:    573.2 kb (9,866 lines)
    - bodies:     666.0 kb (19,803 lines)
    - original:   385.2 kb (12,299 lines)
    - signatures: 27.5 kb (674 lines)

Original Content Rating: 0.578

Averages
========

Posts per poster: 3.1
    median: 2 posts
    mode:   1 post - 78 posters
    s:      3.7 posts
Posts per thread: 5.7
    median: 3.0 posts
    mode:   1 post - 23 threads
    s:      14.4 posts
Message size: 2249.2 bytes
    - header:     1017.3 bytes (17.1 lines)
    - body:       1182.0 bytes (34.3 lines)
    - original:   683.5 bytes (21.3 lines)
    - signature:  48.8 bytes (1.2 lines)

Top 20 Posters by Number of Posts
=================================

         (kb)   (kb)  (kb)  (kb)
Posts  Volume (  hdr/ body/ orig)  Address
-----  --------------------------  -------

   23    76.1 ( 25.7/ 47.5/ 41.9)  tadmc@augustmail.com
   19    38.3 ( 14.2/ 24.1/ 12.0)  Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
   19    61.0 ( 21.2/ 39.8/ 12.1)  jmfbahciv@aol.com
   16    21.0 ( 12.6/  7.3/  3.6)  Gunnar Hjalmarsson <noreply@gunnar.cc>
   16    26.0 ( 11.2/ 11.7/  8.1)  Michele Dondi <bik.mido@tiscalinet.it>
   15    35.2 ( 19.2/ 15.1/  5.6)  albalmer@spamcop.net
   15    61.1 ( 16.7/ 44.3/ 15.0)  Morten Reistad <firstname@lastname.pr1v.n0>
   14    27.6 ( 13.2/ 14.3/  8.4)  Paul Lalli <mritty@gmail.com>
   14    27.2 ( 15.2/ 12.0/  6.6)  Brian McCauley <nobull@mail.com>
   14    29.8 ( 13.2/ 13.4/  6.6)  Uri Guttman <uri@stemsystems.com>
   11    47.9 ( 17.6/ 29.7/ 24.8)  Anne & Lynn Wheeler <lynn@garlic.com>
    9    27.1 ( 10.5/ 16.6/ 12.8)  "Alan J. Flavell" <flavell@ph.gla.ac.uk>
    8    13.1 (  8.1/  4.9/  3.7)  Anthony Roy <news@ant-roy.co.uk>
    8    18.5 (  9.6/  8.5/  5.1)  see@sig.invalid
    7    28.4 ( 11.0/ 17.0/ 11.1)  Chuck Dillon <spam@nimblegen.com>
    6    14.1 (  4.5/  9.5/  7.5)  Chad Brown <chad@wononline.net>
    6    18.8 (  7.6/  9.7/  4.5)  Bëelphazoar <http://joecosby.com/code/mail.pl>
    6     9.0 (  4.3/  4.8/  2.9)  "Leif Wessman" <leifwessman@hotmail.com>
    6     9.4 (  5.8/  3.6/  2.0)  Joe Smith <Joe.Smith@inwap.com>
    6    17.5 (  8.0/  8.5/  2.8)  Brian.Inglis@SystematicSW.ab.ca

These posters accounted for 41.2% of all articles.

Top 20 Posters by Number of Followups
=====================================

             (kb)   (kb)  (kb)  (kb)
Followups  Volume (  hdr/ body/ orig)  Address
---------  --------------------------  -------

       21    76.1 ( 25.7/ 47.5/ 41.9)  tadmc@augustmail.com
       19    61.0 ( 21.2/ 39.8/ 12.1)  jmfbahciv@aol.com
       19    38.3 ( 14.2/ 24.1/ 12.0)  Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
       16    21.0 ( 12.6/  7.3/  3.6)  Gunnar Hjalmarsson <noreply@gunnar.cc>
       15    35.2 ( 19.2/ 15.1/  5.6)  albalmer@spamcop.net
       15    61.1 ( 16.7/ 44.3/ 15.0)  Morten Reistad <firstname@lastname.pr1v.n0>
       14    27.2 ( 15.2/ 12.0/  6.6)  Brian McCauley <nobull@mail.com>
       14    26.0 ( 11.2/ 11.7/  8.1)  Michele Dondi <bik.mido@tiscalinet.it>
       14    27.6 ( 13.2/ 14.3/  8.4)  Paul Lalli <mritty@gmail.com>
       14    29.8 ( 13.2/ 13.4/  6.6)  Uri Guttman <uri@stemsystems.com>
       11    47.9 ( 17.6/ 29.7/ 24.8)  Anne & Lynn Wheeler <lynn@garlic.com>
        9    27.1 ( 10.5/ 16.6/ 12.8)  "Alan J. Flavell" <flavell@ph.gla.ac.uk>
        8    18.5 (  9.6/  8.5/  5.1)  see@sig.invalid
        7    28.4 ( 11.0/ 17.0/ 11.1)  Chuck Dillon <spam@nimblegen.com>
        6    17.5 (  8.0/  8.5/  2.8)  Brian.Inglis@SystematicSW.ab.ca
        6    12.9 (  5.2/  7.7/  4.6)  Scott W Gifford <gifford@umich.edu>
        6     9.4 (  5.8/  3.6/  2.0)  Joe Smith <Joe.Smith@inwap.com>
        6    10.1 (  6.4/  3.3/  1.6)  "A. Sinan Unur" <1usa@llenroc.ude.invalid>
        6     8.9 (  5.5/  3.4/  1.6)  Mark Clements <mark.clements@kcl.ac.uk>
        6    18.0 (  8.4/  8.1/  4.3)  cbfalconer@worldnet.att.net

These posters accounted for 46.9% of all followups.

Top 20 Posters by Volume
========================

  (kb)   (kb)  (kb)  (kb)
Volume (  hdr/ body/ orig)  Posts  Address
--------------------------  -----  -------

  76.1 ( 25.7/ 47.5/ 41.9)     23  tadmc@augustmail.com
  61.1 ( 16.7/ 44.3/ 15.0)     15  Morten Reistad <firstname@lastname.pr1v.n0>
  61.0 ( 21.2/ 39.8/ 12.1)     19  jmfbahciv@aol.com
  47.9 ( 17.6/ 29.7/ 24.8)     11  Anne & Lynn Wheeler <lynn@garlic.com>
  38.3 ( 14.2/ 24.1/ 12.0)     19  Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
  35.2 ( 19.2/ 15.1/  5.6)     15  albalmer@spamcop.net
  29.8 ( 13.2/ 13.4/  6.6)     14  Uri Guttman <uri@stemsystems.com>
  28.4 ( 11.0/ 17.0/ 11.1)      7  Chuck Dillon <spam@nimblegen.com>
  27.6 ( 13.2/ 14.3/  8.4)     14  Paul Lalli <mritty@gmail.com>
  27.2 ( 15.2/ 12.0/  6.6)     14  Brian McCauley <nobull@mail.com>
  27.1 ( 10.5/ 16.6/ 12.8)      9  "Alan J. Flavell" <flavell@ph.gla.ac.uk>
  26.0 ( 11.2/ 11.7/  8.1)     16  Michele Dondi <bik.mido@tiscalinet.it>
  21.0 ( 12.6/  7.3/  3.6)     16  Gunnar Hjalmarsson <noreply@gunnar.cc>
  18.8 (  7.6/  9.7/  4.5)      6  Bëelphazoar <http://joecosby.com/code/mail.pl>
  18.5 (  9.6/  8.5/  5.1)      8  see@sig.invalid
  18.0 (  8.4/  8.1/  4.3)      6  cbfalconer@worldnet.att.net
  17.5 (  8.0/  8.5/  2.8)      6  Brian.Inglis@SystematicSW.ab.ca
  15.4 (  4.4/ 11.0/  8.0)      6  J. Romano <jl_post@hotmail.com>
  14.1 (  4.5/  9.5/  7.5)      6  Chad Brown <chad@wononline.net>
  13.1 (  8.1/  4.9/  3.7)      8  Anthony Roy <news@ant-roy.co.uk>

These posters accounted for 49.1% of the total volume.

Top 11 Posters by Volume of Original Content (min. ten posts)
=============================================================

        (kb)
Posts   orig  Address
-----  -----  -------

   23   41.9  tadmc@augustmail.com
   11   24.8  Anne & Lynn Wheeler <lynn@garlic.com>
   15   15.0  Morten Reistad <firstname@lastname.pr1v.n0>
   19   12.1  jmfbahciv@aol.com
   19   12.0  Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
   14    8.4  Paul Lalli <mritty@gmail.com>
   16    8.1  Michele Dondi <bik.mido@tiscalinet.it>
   14    6.6  Brian McCauley <nobull@mail.com>
   14    6.6  Uri Guttman <uri@stemsystems.com>
   15    5.6  albalmer@spamcop.net
   16    3.6  Gunnar Hjalmarsson <noreply@gunnar.cc>

These posters accounted for 37.6% of the original volume.

Top 11 Posters by OCR (minimum of ten posts)
============================================

         (kb)    (kb)
OCR      orig /  body  Posts  Address
-----  --------------  -----  -------

0.881  ( 41.9 / 47.5)     23  tadmc@augustmail.com
0.834  ( 24.8 / 29.7)     11  Anne & Lynn Wheeler <lynn@garlic.com>
0.690  (  8.1 / 11.7)     16  Michele Dondi <bik.mido@tiscalinet.it>
0.587  (  8.4 / 14.3)     14  Paul Lalli <mritty@gmail.com>
0.555  (  6.6 / 12.0)     14  Brian McCauley <nobull@mail.com>
0.499  ( 12.0 / 24.1)     19  Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
0.495  (  3.6 /  7.3)     16  Gunnar Hjalmarsson <noreply@gunnar.cc>
0.494  (  6.6 / 13.4)     14  Uri Guttman <uri@stemsystems.com>
0.369  (  5.6 / 15.1)     15  albalmer@spamcop.net
0.338  ( 15.0 / 44.3)     15  Morten Reistad <firstname@lastname.pr1v.n0>
0.305  ( 12.1 / 39.8)     19  jmfbahciv@aol.com

Bottom 11 Posters by OCR (minimum of ten posts)
===============================================

         (kb)    (kb)
OCR      orig /  body  Posts  Address
-----  --------------  -----  -------

0.881  ( 41.9 / 47.5)     23  tadmc@augustmail.com
0.834  ( 24.8 / 29.7)     11  Anne & Lynn Wheeler <lynn@garlic.com>
0.690  (  8.1 / 11.7)     16  Michele Dondi <bik.mido@tiscalinet.it>
0.587  (  8.4 / 14.3)     14  Paul Lalli <mritty@gmail.com>
0.555  (  6.6 / 12.0)     14  Brian McCauley <nobull@mail.com>
0.499  ( 12.0 / 24.1)     19  Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
0.495  (  3.6 /  7.3)     16  Gunnar Hjalmarsson <noreply@gunnar.cc>
0.494  (  6.6 / 13.4)     14  Uri Guttman <uri@stemsystems.com>
0.369  (  5.6 / 15.1)     15  albalmer@spamcop.net
0.338  ( 15.0 / 44.3)     15  Morten Reistad <firstname@lastname.pr1v.n0>
0.305  ( 12.1 / 39.8)     19  jmfbahciv@aol.com

11 posters (5%) had at least ten posts.

Top 20 Threads by Number of Posts
=================================

Posts  Subject
-----  -------

  144  Xah Lee's Unixism
   27  parsing XML using a regular expression
   20  Perl opting for double-byte chars?
   16  Perl inconsistency
   14  Network Scanner
   14  Name of variable is value of other variable
   12  list of numbers
   10  Perl and Inheritance strangeness.
    8  Replacing Ampertsand in cgi url
    8  Socket holding pattern
    8  better way to parse html
    8  RE-Redirecting STDOUT
    8  perl open function for size bigger than 2 Gig
    8  Efficient Data Storage
    8  Object Oriented Perl : Query
    8  $| (undocumented) magic?
    7  Help with 'system' seeming to return too soon...
    7  Array of file names
    7  another try
    7  what's wrong with @$ip?

These threads accounted for 60.5% of all articles.

Top 20 Threads by Volume
========================

  (kb)   (kb)  (kb)  (kb)
Volume (  hdr/ body/ orig)  Posts  Subject
--------------------------  -----  -------

 422.6 (184.6/230.2/117.1)    144  Xah Lee's Unixism
  61.3 ( 23.4/ 36.0/ 20.0)     20  Perl opting for double-byte chars?
  46.7 ( 26.6/ 18.6/ 10.7)     27  parsing XML using a regular expression
  34.3 (  1.9/ 32.3/ 32.3)      2  Posting Guidelines for comp.lang.perl.misc ($Revision: 1.5 $)
  33.9 ( 15.2/ 17.6/ 10.3)     16  Perl inconsistency
  31.5 ( 12.9/ 18.1/ 10.5)     14  Network Scanner
  27.6 ( 13.8/ 12.5/  6.7)     14  Name of variable is value of other variable
  22.0 (  8.3/ 13.0/  7.1)      8  Efficient Data Storage
  21.2 ( 10.1/ 10.5/  5.9)     10  Perl and Inheritance strangeness.
  21.0 ( 10.4/  9.9/  5.5)     12  list of numbers
  19.2 (  6.7/ 11.9/  6.1)      8  Object Oriented Perl : Query
  15.5 (  6.9/  8.4/  5.1)      7  Help with 'system' seeming to return too soon...
  14.4 (  6.5/  7.5/  3.3)      8  Socket holding pattern
  14.3 (  6.7/  7.1/  2.7)      8  RE-Redirecting STDOUT
  14.2 (  6.7/  6.9/  4.3)      8  better way to parse html
  13.6 (  5.5/  7.8/  4.9)      7  another try
  13.4 (  7.4/  6.0/  4.0)      8  perl open function for size bigger than 2 Gig
  13.2 (  6.6/  6.3/  3.9)      8  Replacing Ampertsand in cgi url
  13.1 (  6.9/  5.1/  3.1)      8  $| (undocumented) magic?
  12.7 (  5.1/  6.8/  4.2)      7  Perl 6 and OOP

These threads accounted for 68.3% of the total volume.

Top 8 Threads by OCR (minimum of ten posts)
===========================================

         (kb)    (kb)
OCR      orig /  body  Posts  Subject
-----  --------------  -----  -------

0.588  ( 10.3/  17.6)     16  Perl inconsistency
0.580  ( 10.5/  18.1)     14  Network Scanner
0.577  ( 10.7/  18.6)     27  parsing XML using a regular expression
0.565  (  5.9/  10.5)     10  Perl and Inheritance strangeness.
0.558  (  5.5/   9.9)     12  list of numbers
0.554  ( 20.0/  36.0)     20  Perl opting for double-byte chars?
0.538  (  6.7/  12.5)     14  Name of variable is value of other variable
0.509  (117.1/ 230.2)    144  Xah Lee's Unixism

Bottom 8 Threads by OCR (minimum of ten posts)
==============================================

         (kb)    (kb)
OCR      orig /  body  Posts  Subject
-----  --------------  -----  -------

0.588  ( 10.3 / 17.6)     16  Perl inconsistency
0.580  ( 10.5 / 18.1)     14  Network Scanner
0.577  ( 10.7 / 18.6)     27  parsing XML using a regular expression
0.565  (  5.9 / 10.5)     10  Perl and Inheritance strangeness.
0.558  (  5.5 /  9.9)     12  list of numbers
0.554  ( 20.0 / 36.0)     20  Perl opting for double-byte chars?
0.538  (  6.7 / 12.5)     14  Name of variable is value of other variable
0.509  (117.1 /230.2)    144  Xah Lee's Unixism

8 threads (7%) had at least ten posts.

Top 11 Targets for Crossposts
=============================

Articles  Newsgroup
--------  ---------

     142  comp.lang.lisp
     142  alt.folklore.computers
     141  comp.lang.python
     139  comp.unix.programmer
       5  microsoft.public.xsl
       2  alt.drugs.psychedelics
       2  comp.lang.perl.modules
       2  comp.lang.javascript
       2  comp.os.linux.misc
       1  n't
       1  a

Top 20 Crossposters
===================

Articles  Address
--------  -------

      72  jmfbahciv@aol.com
      60  Morten Reistad <firstname@lastname.pr1v.n0>
      56  albalmer@spamcop.net
      44  Anne & Lynn Wheeler <lynn@garlic.com>
      28  Chuck Dillon <spam@nimblegen.com>
      24  cbfalconer@worldnet.att.net
      24  Brian.Inglis@SystematicSW.ab.ca
      20  SM Ryan <wyrmwif@tango-sierra-oscar-foxtrot-tango.fake.org>
      16  "Charlie Gibbs" <cgibbs@kltpzyxm.invalid>
      16  "Jack Peacock" <peacock@simconv.com>
      16  roo@try-removing-this.darkboong.demon.co.uk
      16  "John Thingstad" <john.thingstad@chello.no>
      16  Reynir Stefánsson <reynirhs@mi.is>
      14  Steve O'Hara-Smith <steveo@eircom.net>
      12  keith <krw@att.bizzzz>
       8  Grant Edwards <grante@visi.com>
       8  "Coby Beck" <cbeck@mercury.bc.ca>
       8  Bulent Murtezaoglu <bm@acm.org>
       8  "Alan J. Flavell" <flavell@ph.gla.ac.uk>
       8  Kåre Olai Lindbach <barbr-en_delete_@online.no.invalid>


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

Date: 13 Sep 2004 20:55:40 -0700
From: krakle@visto.com (krakle)
Subject: Re: use CGI qw(:standard) ???
Message-Id: <237aaff8.0409131955.c48998b@posting.google.com>

Gunnar Hjalmarsson <noreply@gunnar.cc> wrote in message news:<2qho4iFv5leeU1@uni-berlin.de>...
> Scott Bryce wrote:
> Not true. If, contrary to expectation, CGI.pm would not be installed
> already, it is a plain Perl module that can easily be installed in a
> local library.
> 
> > This is not the place to get help configuring CGI scripts that you
> > have found on the internet.
> 
> Very true.

Actually... His question wasn't a CGI question at all. It was a
question pertaining to a line of Perl code. Which just happened to be
a call to the _Perl_ module CGI.pm.


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

Date: Mon, 13 Sep 2004 17:43:48 -0500
From: Chuck Dillon <spam@nimblegen.com>
Subject: Re: Xah Lee's Unixism
Message-Id: <ci57q9$7v7$1@grandcanyon.binc.net>

Morten Reistad wrote:
> In article <ci4gs0$23p$1@grandcanyon.binc.net>,
> Chuck Dillon  <spam@nimblegen.com> wrote:
> 
>>Antony Sequeira wrote:
>>
>>
>>>Chuck Dillon wrote:
> 
> 
> 
>>	3) It demonstrates to other states in the region that they could have 
>>a regime change in about a month's time if they allow themselves to be 
>>in the position of being held accountable for any future attack. 
>>Removing the Taliban was a much more ambiguous demonstration of this 
>>since they had no real military and really weren't an organized state.
> 
> 
> Dont' you think they already knew that? The main problem is rather
> how many iraq's can we handle. 

Apparently not since the Taliban ignored it and it seems the Saudi's 
did as well.

> 
> 
>>	4) Look at a map of the middle east.  It provides us with a base of 
>>operations in the center of the region.  We probably won't have to ask 
>>for access to bases and airspace in future operations, which hopefully 
>>will never have to happen.
>>	5) It provides us with a second (ref: Afghanistan) shot at 
>>establishing a pseudo-democracy in the region.
> 
> 
> Valid arguments, but this "democracy-building" has been utterly
> mishandled. Firstly by an [almost] US-only war, and then by a US
> occupation by PHB's. 

Easy to say and perhaps true.  What benchmark does one use to make the 
judgment?  Can one reasonably expect another administration to do 
better?  It's easy to criticize something this messy (to say the 
least).  But unrealistic to expect that there was a significantly 
easier road that we failed to see.


> 
>>Before you respond saying that it increases the number of potential 
>>terrorists that might carry out an attack, that may or may not be so. 
>>But for such an attack to be carried out requires organization and 
>>resources not just a bunch of pissed off people.  It would require at 
>>least implicit support by a state or very large organization with 
>>resources.  If you are one of those pissed off people how are you going 
>>to sell your plan to say Syria?
>>
>>You are being naive.  Complain as loud as you like but there is no 
>>question that the ability and demonstrated willingness to defend ones 
>>self is the best deterrent to ever having to do so.
> 
>

> 
> Now, can we handle a North Korea that really goes sour; together
> with an al-Quada insurgency in a few african states, plus Sudan, 
> a few tribal genosides, Turkmenistan gone bad (sliding there fast), 
> and islamic revolution in Pakistan; or civil war there; plus another
> backlash in Afghanistan.
> 
> All of these are very real and immediate conserns. I haven't even 
> touched the Burmas and the Indoneias that seem stable at the moment.
> 
> This is why I critisize the go-it-alone policy so harshly. I have 
> a feeling we haven'ẗ seen the worst yet. 

I don't see that we've gone it alone at all.  Again it is easy to 
criticize.  I think politically we are better off having our power 
tempered by strong nations.  It reduces the concerns of all 
non-combatants in the west and in the Islamic states.  Good cop bad cop 
comes to mind.

We may not have seen the worst.  Who knows?  I cannot see the danger 
being significantly reduced until the Islamic mainstream begins to take 
ownership of the problem rather than nurturing with unfortunate 
rhetoric.  And I can't see that happening without a strong incentive. 
And I can't imagine a stronger incentive than understanding that we 
hold them accountable when extremism from their midsts manifests itself 
in the non-Islamic world.

-- ced


-- 
Chuck Dillon
Senior Software Engineer
NimbleGen Systems Inc.


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

Date: Tue, 14 Sep 2004 02:50:40 -0000
From: SM Ryan <wyrmwif@tango-sierra-oscar-foxtrot-tango.fake.org>
Subject: Re: Xah Lee's Unixism
Message-Id: <10kcn40mkm43c8f@corp.supernews.com>

# However, to answer your question: How does regime change in Iraq help 
# avoid another 9/11...
# 	1) It removes one of the states that might consider sponsing such a 
# future attach.

Putting that in more mundane terms, if you walk around with loaded shotgun
and gut shoot anyone you think might look funny at you, you will be safer.
Ignores the possibility that the townsfolk might not like your attitude
and arrange an ambush followed by a hanging as needed.

# 	2) It removes a state with the expertise of producing (not developing) 
# WMD that might be used in such an attack.  We've found no WMD 
# stockpiles but we *have* found proof that Iraq retained the expertise 
# to produce WMD in the future.  We still don't know if there are stockpiles.

Leaving Israel, Iran, Pakistan, India, and Korea unmolested. There's a lot of
expertise _and_ material floating around in Russa. A lot of those experts
are now jobless with worthless pensions. If you want to talk about threats,
it would Russians exporting material and experts across their southern border.
That is a threat we can deal with: offer these people worthwhile pensions
to keep their mouths shut. Buy fission materials from Russia. Pay off Russia.
But we don't because that's too expensive.

# 	3) It demonstrates to other states in the region that they could have 
# a regime change in about a month's time if they allow themselves to be 
# in the position of being held accountable for any future attack. 
# Removing the Taliban was a much more ambiguous demonstration of this 
# since they had no real military and really weren't an organized state.

With what army do you propose to invade Syria and Iran and Sudan and Korea?
Taliban is regaining control in Afghanistan after the USA abandonned the
war on terrorism to seek oil profits. Iraq is a tar baby. Saddam Hussein
might be permanently out of the picture, but there's no reason yet to think
that if Iraq does somehow become a democracy it will be friendly to the USA.

# 	4) Look at a map of the middle east.  It provides us with a base of 
# operations in the center of the region.  We probably won't have to ask 
# for access to bases and airspace in future operations, which hopefully 
# will never have to happen.

A soveign Iraq has the right to demand the USA leave. Do you think Iraq
wants to become a target of Al Qaeda the way Saudi Arabia has been simply
for the honor of having USA soldiers in their country?

# 	5) It provides us with a second (ref: Afghanistan) shot at 
# establishing a pseudo-democracy in the region.

Why not start with Jordan and Egypt? Those governments are already friendly
to the USA and more suspectible to gentler persuasion than an invading
army. Because they aren't sitting on a sea of oil to make it worthwhile.
The Afghanistan central government is falling apart because the USA abandonned
it and never did the hard work of nation building there.

# 	6) It underscores that 9/11 should go into the "bad idea" category for 
# future planners of Islamic extremist operations.

Again only you and Dick Cheney believe Iraq had anything to do with
terrorism. The real terrorist are back in Afghanistan laughing their
butts off; they are safe today than two years ago because the USA
abandonned the war on terrorism. The only terrorist organisation that
had been operating in Iraq was in the northern fly zone outside of
Saddam's control. These same terrorists are causing so much trouble now.
These same terrorists the USA and Kurds could have dealt with a long
time, except the USA needed to have a terrorist organisation in Iraq
to provide a cause belli.

# Before you respond saying that it increases the number of potential 
# terrorists that might carry out an attack, that may or may not be so. 
# But for such an attack to be carried out requires organization and 
# resources not just a bunch of pissed off people.  It would require at 

The organisation was being dismantled. But now that the USA has abandonned
the war on terrorism for the quagmire in Iraq, terrorists are reorganising.
Ask Australians about their embassy remodelling.

# You are being naive.  Complain as loud as you like but there is no 
# question that the ability and demonstrated willingness to defend ones 
# self is the best deterrent to ever having to do so.

Iraq was never a threat to the USA. Al Qaeda is, and the USA has
abandonned the quest to end it or capture Osama bin Laden.

--
SM Ryan http://www.rawbw.com/~wyrmwif/
I'm not even supposed to be here today.


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

Date: Tue, 14 Sep 2004 02:50:41 -0000
From: SM Ryan <wyrmwif@tango-sierra-oscar-foxtrot-tango.fake.org>
Subject: Re: Xah Lee's Unixism
Message-Id: <10kcn41im0ua990@corp.supernews.com>

# It may actually have worked with Libya; who consiquosly have changed
# sides to want friendly terms with the west, and is making a serious 
# effort to reform. They also had far more WMD's in the pipeline than 
# Saddam probably ever had. THAT was a surprise.

Libya has been changing for a long time. As Qaddify ages and hears the
flutterring wings of the Angel of Death, he has evolved from fiery
revolutionary sending out terrorists from the safety of his bunker,
to a fledging statesman organising a peaceful and orderly Africa. Libya's
biological and chemical warfare research was too expensive with too
little return, so it was being shut down anyway due to finances. He wants
all embargos ended, trade fully resumed, his people happy enough to
stop trying to kill him, and to go down in history books as a great
leader.

It's been going along for a long time. I doubt it was less about fear
of an attack, and more about political opportunism in both Libya and
the USA.

--
SM Ryan http://www.rawbw.com/~wyrmwif/
She broke your heart and inadvertendently drove men to deviant lifestyles.


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

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


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