[9930] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 3523 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Aug 24 11:07:24 1998

Date: Mon, 24 Aug 98 08:01:30 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Mon, 24 Aug 1998     Volume: 8 Number: 3523

Today's topics:
    Re: Perl documentation no.unsoliciteds@dead.end.com
    Re: Perl documentation (I R A Aggie)
    Re: Perl documentation (I R A Aggie)
    Re: Perl documentation no.unsoliciteds@dead.end.com
    Re: Perl documentation (Greg Bacon)
    Re: Perl FAR version 1.1.1 MAKE SURE YOU READ THIS BEFO (I R A Aggie)
    Re: Perl FAR version 1.1.1 MAKE SURE YOU READ THIS BEFO <flavell@mail.cern.ch>
        Problems with chomp <zoetewey@iserv.net>
    Re: Problems with chomp <Tony.Curtis+usenet@vcpc.univie.ac.at>
    Re: Recommend a good editor (Brian Inglis)
    Re: Script wanted to change /etc/passwd passwords. <sneaker@sneex.fccj.org>
    Re: Send file to user (Maurice Aubrey)
        Statistics for comp.lang.perl.misc <gbacon@cs.uah.edu>
        Submitting a form from a script (Anders Lindgren)
        text editing in perl jasjeet14@my-dejanews.com
        Web Log Analysis: Help <cmg97@aber.ac.uk>
    Re: Web Log Analysis: Help (Dermot McKay)
    Re: Web Log Analysis: Help <maryesme@localaccess.com>
        Special: Digest Administrivia (Last modified: 12 Mar 98 (Perl-Users-Digest Admin)

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

Date: Mon, 24 Aug 1998 22:56:36 +0900
From: no.unsoliciteds@dead.end.com
Subject: Re: Perl documentation
Message-Id: <35E17114.6A347FC@dead.end.com>

David Hawker wrote:

> Well if you can say you've had no spam from doing this, I will take your
> advice.

I don't know about Tom, but on the past occasions I posted to a NG and I
DIDN'T munge my addresses I got deluged spam trying to sell me stuff,
resulting in me having to change email addresses to get away from it and
whoever else went to look at Deja News to get suckers to mass mail from.
Whether or not this means I won't get help with any queries I post is
secondary to not having to hook up to my mail account by telnet and delete all
the spam before down loading my real mail.


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

Date: Mon, 24 Aug 1998 09:59:54 -0500
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: Perl documentation
Message-Id: <fl_aggie-2408980959540001@aggie.coaps.fsu.edu>

In article <35e03875.13012150@news.cableol.net>,
david.hawker@removethis.cableol.co.uk wrote:

+ There was no big sign saying 'you can find out about foreach in perlsyn' -
+ the obvious place that struck me was perlfunc, as these (for/foreach) are
+ words and can be misinterpreted as functions by people who aren't as expert
+ on perl as those who make it or write the manuals.

They're a control loop, not a function.
 
+ I regard syntax as the way perl is written - not the function of the words
+ "for/foreach"

I believe your question can be restated as "what is the SYNTAX of a foreach
loop?"

+ I'm not after perl documentation - that seems to be all present in the docs
+ I already have - rather I am after documentation on Linux/UNIX. Try reading
+ my question again and the replies to the thread.

Pick your favorite web search engine, and try something like "man localtime".
Of course, you could just pick up a copy of the linux doc set...

James - of course, its probably in a 'weird' format, so that may not do
        you any good...


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

Date: Mon, 24 Aug 1998 10:04:27 -0500
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: Perl documentation
Message-Id: <fl_aggie-2408981004270001@aggie.coaps.fsu.edu>

In article <35e13aa8.13575455@news.cableol.net>,
david.hawker@removethis.cableol.co.uk wrote:

+ On 23 Aug 1998 14:50:46 GMT, Tom Christiansen <tchrist@mox.perl.com> felt
+ the need to post:

+ >You lose.  I don't provide much help to people who post under unrepliable
+ >addresses, and I encourage others to follow this practic3.  I post under
+ >my real address, and so can you.
 
+ Well if you can say you've had no spam from doing this, I will take your
+ advice.

That's not what he said...there are ways of dealing with spam...either
via the latest-n-greatest sendmail, or thru a filter (procmail, filteragent),
or better yet, a combination.

James


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

Date: Mon, 24 Aug 1998 23:21:28 +0900
From: no.unsoliciteds@dead.end.com
Subject: Re: Perl documentation
Message-Id: <35E176E8.A5CE1E84@dead.end.com>

Why does this thread smell of roasted newbie? Why do I keep seeing the same
names being obnoxious? Why don't these same names go off and form their own
newbie free news group? I would just love to see who would be in the Birds Of
A Feather meet with all the abusive repliers at the Perl conference - James
Manson? Pol Pot? 

I think the prob with the "gurus" is that they've been at it so long they
don't remember their own feeble beginnings, or maybe people were just nicer to
them and didn't lay into them when they didn't understand something.


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

Date: 24 Aug 1998 14:06:46 GMT
From: gbacon@cs.uah.edu (Greg Bacon)
Subject: Re: Perl documentation
Message-Id: <6rrs1m$hag$3@info.uah.edu>

In article <35e07826.323978359@nntpd.databasix.com>,
	gburnore@databasix.com (Gary L. Burnore) writes:
: On Sun, 23 Aug 1998 19:57:28 GMT, in article
: <35e772b2.5249911@news.cableol.net>, dhawker@bigfoot.com (David Hawker) wrote:
: >But these days spamming programs can be clever and scan for stuff like
: >"removethis" or "NOSPAM"
: 
: But not smart enough for other sayings or misspelled words or
: _NON_EXISTANT_DOMAINS_.

People are smart enough to decode munged addresses.  Imagine if a spammer
payed people a nickel for each address they decoded.  Munging is not a
safe solution in the long run.

Greg
-- 
It has been discovered that C++ provides a remarkable facility for concealing
the trival details of a program--such as where its bugs are. 
    -- David Keppel


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

Date: Mon, 24 Aug 1998 09:45:03 -0500
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: Perl FAR version 1.1.1 MAKE SURE YOU READ THIS BEFORE POSTING
Message-Id: <fl_aggie-2408980945030001@aggie.coaps.fsu.edu>

In article <35DFC665.58744B49@dead.end.com>, no.uce@dead.mailbox.com wrote:

+ Oh really and where is the beginners class here? I don't recall seeing a
+ comp.lang.perl.newbie news group mentioned in the FAQ - was this an omission?
+ Either that or it doesn't exist.

Actually...

Learning Perl, Randal L. Schwartz, ISBN 1-56592-042-2.

of course, that's first edition. There's a second edition out, as
well as a version tuned specifically for Win32 systems. They're
probably listed at <url:http://www.perl.com/>.

HTH. Of course, if one is currently NOT a programmer, I suggest going to
the local college, university, or other technical institute of higher 
learning and enrolling in a class.

James


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

Date: Mon, 24 Aug 1998 16:18:47 +0200
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Subject: Re: Perl FAR version 1.1.1 MAKE SURE YOU READ THIS BEFORE POSTING
Message-Id: <Pine.HPP.3.95a.980824161000.11381D-100000@hpplus01.cern.ch>

On Sun, 23 Aug 1998 no.unsoliciteds@dead.end.com wrote:

> Oh really and where is the beginners class here? I don't recall seeing a
> comp.lang.perl.newbie news group mentioned in the FAQ - was this an omission?

This suggests that you can't conceive of any other way of learning how
to program, or the details of a particular programming language, or
elementary problem-solving techniques, than to locate a usenet group and
immediately start posting random questions to it, without bothering
about the FAQ nor even taking a look at what the recent discussions were
about. 



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

Date: Mon, 24 Aug 1998 10:12:38 -0400
From: Jim Zoetewey <zoetewey@iserv.net>
Subject: Problems with chomp
Message-Id: <35E174D6.6904D5D8@iserv.net>

Hi,

I'm currently teaching myself how to use perl and am rather mystified by
some problems I'm having.

Here's the program I'm trying to make work (it's from O'Reilly's
"Learning Perl"):

#!/usr/bin/perl -w
print "What is your name?";
$name = <STDIN>;
chomp ($name);
print "Hello, $name!\n";

Simple enough, but here's the error message I get every time I run the
thing...

"chomp" may clash with future reserved word at ./your_name line 4 syntax
error in file ./your_name at line 4, next 2 tokens "chomp ($name)"

I've tried it with and without parentheses to see if that makes any
difference (they're optional, right?).  I'd planned to try it on a
friend's computer to see if would work there, but I haven't been able to
get a hold of it yet...

At present I'm wondering if I have problems with my system's
implementation of Perl (FreeBSD 2.2.5)or whether I might have made some
kind of error while using emacs or what could possibly be going on here.

If any possibilities come to mind, please send me email in addition to a
newsgroup reply.

Thanks.
 
Jim Z.

http://www.geocities.com/Athens/Acropolis/1713
zoetewey@iserv.net
97zoetewey@wmich.edu

-------------------------------------------------
"This should cheer you up for sure
See I've got your old I.D.
And you're all dressed up like
the Cure."
			--Ben Folds Five
-------------------------------------------------


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

Date: 24 Aug 1998 16:26:19 +0200
From: Tony Curtis <Tony.Curtis+usenet@vcpc.univie.ac.at>
Subject: Re: Problems with chomp
Message-Id: <7x67fi4fsk.fsf@salome.vcpc.univie.ac.at>

Re: Problems with chomp, Jim <zoetewey@iserv.net> said:

Jim> "chomp" may clash with future reserved word at
Jim> ./your_name line 4 syntax error in file ./your_name at
Jim> line 4, next 2 tokens "chomp ($name)"

Looks like you are using some perl4 version or maybe an
early perl5.  Do "perl -v" and see what comes out.

chomp is a perl5'ism - it's just "chop" in perl4.

the best thing to do though is to upgrade to perl5.004

tony


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

Date: Mon, 24 Aug 1998 14:32:21 GMT
From: Brian.dot.Inglis@CADvision.com (Brian Inglis)
Subject: Re: Recommend a good editor
Message-Id: <35e00b2b.149685269@news.cadvision.com>

On 14 Aug 1998 23:57:35 GMT, abigail@fnx.com (Abigail) wrote:
>Steve Bohler (skbohler@sprynet.com) wrote on MDCCCIX September MCMXCIII
>in <URL: news:6r1qlj$90f@sjx-ixn1.ix.netcom.com>:
>Abigail
What's with the 1809 September 1993 in the header X-date
Take care. Thanks, Brian Inglis (Calgary, Alberta, Canada) Brian.dot.Inglis.at@CADvision.dot.com


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

Date: Mon, 24 Aug 1998 06:29:00 -0400
From: Bill 'Sneex' Jones <sneaker@sneex.fccj.org>
To: Sergio Antoy <antoy@cs.pdx.edu>
Subject: Re: Script wanted to change /etc/passwd passwords.
Message-Id: <35E1406C.5D027CCD@sneex.fccj.org>

Sergio Antoy wrote:
> 
> Bill 'Sneex' Jones wrote:
> >
> > Vincent Verhagen wrote:
> > >
> > > Hi.
> > >
> > > I'm looking for a CGI / Perl script that allows users of my Linux system to
> > > change their /etc/passwd password via the web server. Does anybody know
> > > if/where such a script is available?
> > >
> > > Thanks very much in advance!
> > >
> > > Vincent.
> >
> > At http://www.perl.com Look under Security.
> >
> > HTH,
> > -Sneex-
> > __________________________________________________________________
> > Bill Jones | FCCJ Webmaster | Murphy's Law of Research:
> >            Enough research will tend to support your theory.
> 
> http://www.perl.com opens URL http://www.perl.com/pace/pub.
> The word "Security" does not occur on that page.
> Maybe you meant something else?
> 
> Sergio Antoy


No. I said what I meant.  I suppose I should do everything
for people, huh?  It's there.  Look closer.

Songline Studio's reOrg'ed the site during the Perl Conference, 
but you will see a link to the 'home' Perl page, at the bottom 
is the Security link, on the left.  But never take anyone's 
word for that - always do your own research and make your 
own mind up.


Oh hell, I'm sorry, I forgot which group I was talking
too - here, since most can't find anything without a
'push' in the right direction, this is the URL:

http://reference.perl.com/query.cgi?security

(three clicks from where I said go to.)

HTH,
-Sneex- 
__________________________________________________________________
Bill Jones | FCCJ Webmaster | Murphy's Law of Research:
           Enough research will tend to support your theory.


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

Date: Mon, 24 Aug 1998 10:05:03 GMT
From: maurice@hevanet.com (Maurice Aubrey)
Subject: Re: Send file to user
Message-Id: <slrn6u2emh.gfb.maurice@localhost.localdomain>

On 24 Aug 1998 09:48:24 GMT, Jamie Hoglund <jhoglund@mirage.skypoint.net> wrote:
>Stathy Touloumis <stathy@jaske.com> wrote:
>
>Probably more of a cgi / mime and browser question than a perl question
>though. Ultimately, it's just data, you're trying to tell the browser what
>name to assign to the data.
>
>There are a few ways, here are some that I've toyed with:
>
>1.) Issue a "Location:" header
>
>    Direct them to the named file. This has a side effect that they'd be
>    able to get the file w/out a password.
>
>2.) Use the path-translated
>
>    action="/cgi-bin/script.cgi/name_of_file.ext"
>
>    This sometimes works. Depends on the browser, can creatively be used
>    with the Location: to circumvent unauthorized access though.
>
>3.) Use the multi-part mime type, in question is the Disposition: header.
>
>    This works with netscape, not with IE. It's a cool when it works
>    though. :-)
>
>Path-Translated is probably your best bet, as (hopefully) the browser
>won't know cgi-bin from anything else, do make sure it spits out the right
>mime-type though. (probably application/octet-stream)

How could a browser know that script.cgi is a file and not a directory?
There are no browsers that are actually this broken, are there?

Followups set accordingly.
 
-- 
Maurice Aubrey <maurice@hevanet.com>

The programmer, like the poet, works only slightly removed from pure
thought-stuff. He builds his castles in the air, from air, creating
by exertion of the imagination. 
  - Frederick Brooks, Jr., The Mythical Man Month


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

Date: 24 Aug 1998 14:14:00 GMT
From: Greg Bacon <gbacon@cs.uah.edu>
Subject: Statistics for comp.lang.perl.misc
Message-Id: <6rrsf8$hag$5@info.uah.edu>

Following is a summary of articles spanning a 7 day period,
beginning at 17 Aug 1998 13:32:18 GMT and ending at
24 Aug 1998 06:58:17 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" e-mail 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) 1998 Greg Bacon.  All Rights Reserved.
      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\@mox\.perl\.com

Totals
======

Posters:  560
Articles: 1532 (633 with cutlined signatures)
Threads:  454
Volume generated: 2614.8 kb
    - headers:    1082.3 kb (21,627 lines)
    - bodies:     1381.2 kb (41,994 lines)
    - original:   903.0 kb (29,849 lines)
    - signatures: 149.8 kb (3,274 lines)

Original Content Rating: 0.654

Averages
========

Posts per poster: 2.7
    median: 1.0 post
    mode:   1 post - 355 posters
    s:      5.9 posts
Posts per thread: 3.4
    median: 2.0 posts
    mode:   1 post - 152 threads
    s:      5.4 posts
Message size: 1747.7 bytes
    - header:     723.4 bytes (14.1 lines)
    - body:       923.2 bytes (27.4 lines)
    - original:   603.6 bytes (19.5 lines)
    - signature:  100.1 bytes (2.1 lines)

Top 10 Posters by Number of Posts
=================================

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

   67   117.0 ( 51.8/ 53.2/ 25.8)  abigail@fnx.com
   50    65.2 ( 32.5/ 28.8/ 20.0)  Jonathan Feinberg <jdf@pobox.com>
   45   126.6 ( 43.4/ 51.6/ 15.2)  whatpartofdontemailme@dontyouunderstand
   41    83.6 ( 22.5/ 56.5/ 43.6)  Greg Bacon <gbacon@cs.uah.edu>
   36    57.5 ( 22.6/ 29.7/ 12.4)  kortbein@iastate.edu (Josh Kortbein)
   35    66.8 ( 25.2/ 41.5/ 27.0)  cberry@cinenet.net (Craig Berry)
   32    52.3 ( 28.3/ 23.6/ 14.6)  jdporter@min.net
   29    45.4 ( 17.1/ 28.2/ 19.5)  linberg@literacy.upenn.edu (Steve Linberg)
   26    40.4 ( 20.7/ 13.1/  6.8)  rjk@coos.dartmouth.edu (Ronald J Kimball)
   20    34.6 ( 13.7/ 18.6/ 12.8)  lr@hpl.hp.com (Larry Rosler)

These posters accounted for 24.9% of all articles.

Top 10 Posters by Volume
========================

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

 126.6 ( 43.4/ 51.6/ 15.2)     45  whatpartofdontemailme@dontyouunderstand
 117.0 ( 51.8/ 53.2/ 25.8)     67  abigail@fnx.com
  83.6 ( 22.5/ 56.5/ 43.6)     41  Greg Bacon <gbacon@cs.uah.edu>
  66.8 ( 25.2/ 41.5/ 27.0)     35  cberry@cinenet.net (Craig Berry)
  65.2 ( 32.5/ 28.8/ 20.0)     50  Jonathan Feinberg <jdf@pobox.com>
  57.5 ( 22.6/ 29.7/ 12.4)     36  kortbein@iastate.edu (Josh Kortbein)
  52.3 ( 28.3/ 23.6/ 14.6)     32  jdporter@min.net
  45.4 ( 17.1/ 28.2/ 19.5)     29  linberg@literacy.upenn.edu (Steve Linberg)
  40.4 ( 20.7/ 13.1/  6.8)     26  rjk@coos.dartmouth.edu (Ronald J Kimball)
  34.6 ( 13.7/ 18.6/ 12.8)     20  lr@hpl.hp.com (Larry Rosler)

These posters accounted for 26.4% of the total volume.

Top 10 Posters by OCR (minimum of five posts)
==============================================

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

0.997  ( 12.7 / 12.8)     11  tye@fumnix.metronet.com (Tye McQueen)
0.993  (  8.1 /  8.2)     11  fl_aggie@thepentagon.com (I R A Aggie)
0.986  (  1.6 /  1.6)      7  Stathy Touloumis <stathy@jaske.com>
0.968  (  2.9 /  3.0)      8  Ketan Patel <ketanp@NOSPAMxwebdesign.com>
0.952  (  9.5 / 10.0)     12  gebis@fee.ecn.purdue.edu (Michael J Gebis)
0.889  (  9.2 / 10.3)      7  John Callender <jbc@west.net>
0.837  (  7.4 /  8.8)      7  mjd@op.net (Mark-Jason Dominus)
0.836  (  5.2 /  6.3)      7  Alex Farber <alex@kawo2.rwth-aachen.de>
0.810  (  3.2 /  4.0)      5  "K.Posern" <posern@informatik.uni-marburg.de>
0.789  (  8.1 / 10.3)     12  aml@world.std.com (Andrew M. Langmead)

Bottom 10 Posters by OCR (minimum of five posts)
=================================================

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

0.460  (  2.5 /  5.4)      6  hirano@Xenon.Stanford.EDU (Kelly Hirano)
0.451  (  2.1 /  4.7)      5  Gellyfish@btinternet.com (Jonathan Stowe)
0.434  (  4.5 / 10.3)     10  david.hawker@removethis.cableol.co.uk
0.426  (  1.3 /  3.0)      6  alastair@calliope.demon.co.uk
0.417  ( 12.4 / 29.7)     36  kortbein@iastate.edu (Josh Kortbein)
0.416  (  1.9 /  4.5)      6  "Matthew O. Persico" <mpersico@erols.com>
0.415  (  2.5 /  6.0)      8  david.hawker@cableol.co.uk
0.405  (  2.2 /  5.4)      8  Tk Soh <r28629@email.sps.mot.com>
0.353  (  1.3 /  3.5)      5  sholden@pgrad.cs.usyd.edu.au (Sam Holden)
0.295  ( 15.2 / 51.6)     45  whatpartofdontemailme@dontyouunderstand

60 posters (10%) had at least five posts.

Top 10 Threads by Number of Posts
=================================

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

   61  Why dont people read the FAQs
   48  Perl documentation
   38  COBOL and Perl
   28  here's an implementation of diff in perl
   24  Recommend a good editor
   17  Is Perl5.004 Year 2000 compilant?
   17  Random Number
   16  Q: How to read all the file name in a directory
   14  Converting to lowecase
   14  Easy one for you.

These threads accounted for 18.1% of all articles.

Top 10 Threads by Volume
========================

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

 142.4 ( 53.7/ 61.5/ 28.3)     61  Why dont people read the FAQs
  90.7 ( 38.3/ 45.3/ 23.6)     48  Perl documentation
  75.7 ( 33.5/ 39.8/ 25.9)     38  COBOL and Perl
  57.6 ( 22.6/ 32.7/ 19.7)     28  here's an implementation of diff in perl
  39.5 ( 11.3/ 27.5/ 14.9)     14  Converting to lowecase
  38.8 ( 12.1/ 24.9/ 18.9)     17  Random Number
  35.5 (  1.5/  1.1/  0.8)      2  Secure FTP
  35.4 ( 18.4/ 14.7/  8.1)     24  Recommend a good editor
  32.7 ( 13.6/ 18.4/ 14.2)     16  Q: How to read all the file name in a directory
  28.9 ( 11.2/ 16.6/  8.8)     12  comp.lang.perl.announce redux

These threads accounted for 22.1% of the total volume.

Top 10 Threads by OCR (minimum of five posts)
==============================================

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

0.968  (  2.2/   2.2)      6  In-place editing and file locking
0.915  (  4.9/   5.3)      6  tie %h, 'DB_File'... complains about invalid arg ?
0.891  (  9.0/  10.1)      7  such a thing as a "perl user"?
0.889  (  3.1/   3.5)      5  eq and == difference >>Abigail -> You are a LOSER. Take that stick out of your ass!
0.875  ( 10.2/  11.7)      6  Perl FAR version 1.1.1 MAKE SURE YOU READ THIS BEFORE POSTING
0.858  (  6.1/   7.1)      5  Beaver condensed
0.848  (  1.6/   1.9)      5  Perl Bots! [Chatterbots, FAQbots, InfoBots]
0.846  (  3.9/   4.6)      6  Converting to Uppercase to some Lower Case.
0.814  (  3.5/   4.2)      5  After installing new Activestate version .. @INC errors
0.804  (  6.2/   7.7)      8  [Q] deprecated use of split (what? why?)

Bottom 10 Threads by OCR (minimum of five posts)
=================================================

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

0.485  (  2.7 /  5.6)      6  How do I pass "Hello World" to a scipt? (NEWBIE)
0.483  (  1.5 /  3.0)      5  print "Content-type:text/html\n\n"; and redirection...
0.481  (  2.0 /  4.1)      6  Perl on linux
0.461  ( 28.3 / 61.5)     61  Why dont people read the FAQs
0.457  (  1.1 /  2.4)      5  Nested regexp
0.455  (  3.2 /  7.0)      5  Period.pm or any other time module
0.453  (  1.1 /  2.5)      5  Call another perl script?
0.425  (  3.8 /  8.9)      7  2 quick questions
0.424  (  4.0 /  9.3)     12  what is 'sub f () {555};'
0.383  (  2.6 /  6.8)      8  Greedy arrays in list assignments

82 threads (18%) had at least five posts.

Top 10 Targets for Crossposts
=============================

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

      37  comp.lang.cobol
      29  comp.editors
      23  comp.lang.perl.moderated
      23  comp.lang.perl.modules
      12  comp.lang.perl.tk
       9  alt.perl
       7  comp.lang.perl
       6  comp.os.linux
       5  alt.fan.oj-simpson
       5  misc.legal

Top 10 Crossposters
===================

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

      11  prog@hankel.mersinet.co.uk
       6  Jonathan Feinberg <jdf@pobox.com>
       6  ez074520@dilbert.ucdavis.edu (Tomoyuki Tanaka)
       5  Martin Gregory <mgregory@asc.sps.mot.com>
       5  kortbein@iastate.edu (Josh Kortbein)
       5  jdporter@min.net
       4  scott@softbase.com
       4  Zenin <zenin@bawdycaste.org>
       4  ptimmins@netserv.unmc.edu (Patrick Timmins)
       4  Christopher Hulsey <chulsey@azuredesigns.com>


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

Date: 24 Aug 1998 14:02:58 GMT
From: andlin-7@jota.sm.luth.se (Anders Lindgren)
Subject: Submitting a form from a script
Message-Id: <6rrrqi$m8$2@news.luth.se>


I'd like to know if (I'm sure it is, so how?) I can open a URL from a perl
script... I don't need to take care of the output as I just need to submit
a form, so I would need to open something like
http://host.domain/script.cgi?name=value
Also, is it possible to set the env variables before opening the URL so I
can make the CGI script believe I come from a certain page or so
(HTTP_REFERRER or something like that...)
Well... TIA
/Anders


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

Date: Mon, 24 Aug 1998 13:44:52 GMT
From: jasjeet14@my-dejanews.com
Subject: text editing in perl
Message-Id: <6rrqok$non$1@nnrp1.dejanews.com>

I have simple text file, which is totally jumbled up, with lot of spaces. I
want to arrange the file in a proper ',' delimited file, with no spaces. The
point is how to edit this file and remove the extra spaces and arrange it in
a delimited format ?. Can you tell me how to write a small program in perl
which can read and thus edit this file into a proper format. The file is
arranged like this :-

MAJID HUSS=
 AIN                 125 (PB) 75 D.K. PUBLISHERS DISTRIBUTORS (P) LTD.   G=
 EOGRAPHY                                AN AGRICULTURAL VIEW OF HARYANA  =
                                                                          =
                    M S KAIRON                              95D.K. PUBLISH=
 ERS DISTRIBUTORS (P) LTD.   GEOGRAPHY                                THE =
 ANCIENT GEOGRAPHY OF INDIA

Please help.                                          =

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum


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

Date: Mon, 24 Aug 1998 13:45:21 +0100
From: CHRISTOPHER MICHAEL GREEN <cmg97@aber.ac.uk>
Subject: Web Log Analysis: Help
Message-Id: <35E16061.1E1D@aber.ac.uk>

I'm trying to write a perl script to monitor and track users of my web
site. if anyone has any code that can assist me, or information of use,
I would be very appreciative

Thanks

Chris Green

cmg97@aber.ac.uk


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

Date: Mon, 24 Aug 1998 12:58:55 GMT
From: MCKAYD@aplbt1.agw.bt.co.uk (Dermot McKay)
Subject: Re: Web Log Analysis: Help
Message-Id: <6rrodn$4dp$1@pheidippides.axion.bt.co.uk>

Try http://www.statslab.cam.ac.uk/~sret1/analog/



In article <35E16061.1E1D@aber.ac.uk>, CHRISTOPHER MICHAEL GREEN 
<cmg97@aber.ac.uk> wrote:
>I'm trying to write a perl script to monitor and track users of my web
>site. if anyone has any code that can assist me, or information of use,
>I would be very appreciative
>
>Thanks
>
>Chris Green
>
>cmg97@aber.ac.uk


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

Date: Mon, 24 Aug 1998 06:25:28 -0700
From: Mark Lybrand <maryesme@localaccess.com>
To: CHRISTOPHER MICHAEL GREEN <cmg97@aber.ac.uk>
Subject: Re: Web Log Analysis: Help
Message-Id: <35E169C8.7E2D@localaccess.com>

CHRISTOPHER MICHAEL GREEN wrote:
> 
> I'm trying to write a perl script to monitor and track users of my web
> site. if anyone has any code that can assist me, or information of use,
> I would be very appreciative

If you are interested I have a script that acts as a gate and all my
pages are passed through it.  As they pass through, I take counts and
find out a few things about the visitor.  So far I have not noticed any
big problems as far as server drag or response time, but then again not
very many people visit my site.  I am now working on a script that would
be activated as a chron job and pull logs once a day and suck the needed
info out.

Let me know if you are interested in the gate script and/or something
that analyzes the existing logs.

Mark :)



> 
> Thanks
> 
> Chris Green
> 
> cmg97@aber.ac.uk


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

Date: 12 Jul 98 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Special: Digest Administrivia (Last modified: 12 Mar 98)
Message-Id: <null>


Administrivia:

Special notice: in a few days, the new group comp.lang.perl.moderated
should be formed. I would rather not support two different groups, and I
know of no other plans to create a digested moderated group. This leaves
me with two options: 1) keep on with this group 2) change to the
moderated one.

If you have opinions on this, send them to
perl-users-request@ruby.oce.orst.edu. 


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.  

To submit articles to comp.lang.perl.misc (and this Digest), send your
article to perl-users@ruby.oce.orst.edu.

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.

The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.

The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.

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 V8 Issue 3523
**************************************

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