[24479] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 6661 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Jun 7 14:10:46 2004

Date: Mon, 7 Jun 2004 11:10:10 -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           Mon, 7 Jun 2004     Volume: 10 Number: 6661

Today's topics:
    Re: No-install Perl Interpretor <mick.lan@laposte.net>
    Re: No-install Perl Interpretor <usenet@morrow.me.uk>
    Re: No-install Perl Interpretor <mick.lan@laposte.net>
    Re: No-install Perl Interpretor <usenet@morrow.me.uk>
        Statistics for comp.lang.perl.misc <gbacon@hiwaay.net>
        syntax  $_[0] (Jon Landenburer)
    Re: syntax  $_[0] <lallip@dishwasher.cs.rpi.edu>
    Re: Using LWP to get last modified date of web page <andrew@bryson.co.nz>
    Re: Using LWP to get last modified date of web page <uri@stemsystems.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Mon, 07 Jun 2004 16:00:55 +0200
From: Micla <mick.lan@laposte.net>
Subject: Re: No-install Perl Interpretor
Message-Id: <ca1sei$4jn$1@s1.read.news.oleane.net>


Well, thank's for this reply, verification made, I had caugth tinyPerl 
already.

Of course using a compiler answers to the goal that I have given as an 
example, but this doesnt give me the ease of use of a no-install 
interpretopr of Perl. If I want to modify a script "on the fly", or type 
a command not planned before, an uninstalled interpretor allows it !

So, if there is a possibility to run a perl interpretor without prior 
install, I remain strongly interested !

Thank's.

Micla.


Jack Challen a écrit :
> Micla wrote:
> 
>>
>>Would anybody know a Perl version usable without any prior installation?
>>
>>One of the goals foreseen for it would be to have some "personal" scripts on a USB memory key, immediately usable on any computer that I have the opportunity to go on.
>>
>>But there are also other reasons to try to use Perl scripts without installing Perl previously.
>>
>>Thank's for any help.
>>
>>Me. 
> 
> 
> You could look at tinyperl. I think it'll allow you to turn .pl files 
> into  binaries executable by windows directly as well.
> 
> 
> http://tinyperl.sourceforge.net/


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

Date: Mon, 7 Jun 2004 15:39:55 +0000 (UTC)
From: Ben Morrow <usenet@morrow.me.uk>
Subject: Re: No-install Perl Interpretor
Message-Id: <ca228b$o4o$2@wisteria.csv.warwick.ac.uk>

[don't top-post]

Quoth Micla <mick.lan@laposte.net>:
> 
> Jack Challen a écrit :
> > Micla wrote:
> > 
> >>
> >>Would anybody know a Perl version usable without any prior installation?
> >>
> >>One of the goals foreseen for it would be to have some "personal" scripts
> >>on a USB memory key, immediately usable on any computer that I have the
> >>opportunity to go on.
> > 
> > You could look at tinyperl. I think it'll allow you to turn .pl files 
> > into  binaries executable by windows directly as well.
> > 
> > 
> > http://tinyperl.sourceforge.net/
>
> Well, thank's for this reply, verification made, I had caugth tinyPerl 
> already.
> 
> Of course using a compiler answers to the goal that I have given as an 
> example, but this doesnt give me the ease of use of a no-install 
> interpretopr of Perl. If I want to modify a script "on the fly", or type 
> a command not planned before, an uninstalled interpretor allows it !
> 
> So, if there is a possibility to run a perl interpretor without prior 
> install, I remain strongly interested !

I don't know about tinyperl, but certainly a bundled PAR executable
contains a full Perl interpreter + modules, and you can choose to bundle
in any modules you like. This means that if you make a PAR of the
script:

#!/usr/bin/perl

do shift

__END__

it will be a stand-alone perl interpreter, not requiring any
installation. Note that this will obviously ignore any switches given
either on the command line or on the #! line: if you need this you will
have to write a short script to do that yourself. Also note that getting
'perl -T' to work will be difficult, if you need it...

Ben

-- 
If I were a butterfly I'd live for a day, / I would be free, just blowing away.
This cruel country has driven me down / Teased me and lied, teased me and lied.
I've only sad stories to tell to this town: / My dreams have withered and died.
  ben@morrow.me.uk                                                 (Kate Rusby)


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

Date: Mon, 07 Jun 2004 18:28:59 +0200
From: Micla <mick.lan@laposte.net>
Subject: Re: No-install Perl Interpretor
Message-Id: <ca2547$9ke$1@s1.read.news.oleane.net>

Ben Morrow a écrit :

> [don't top-post]
> 
> Quoth Micla <mick.lan@laposte.net>:
> 
>>Jack Challen a écrit :
>>
>>>Micla wrote:
>>>
>>>
>>>>Would anybody know a Perl version usable without any prior installation?
>>>>
>>>>One of the goals foreseen for it would be to have some "personal" scripts
>>>>on a USB memory key, immediately usable on any computer that I have the
>>>>opportunity to go on.
>>>
>>>You could look at tinyperl. I think it'll allow you to turn .pl files 
>>>into  binaries executable by windows directly as well.
>>>
>>>
>>>http://tinyperl.sourceforge.net/
>>
>>Well, thank's for this reply, verification made, I had caugth tinyPerl 
>>already.
>>
>>Of course using a compiler answers to the goal that I have given as an 
>>example, but this doesnt give me the ease of use of a no-install 
>>interpretopr of Perl. If I want to modify a script "on the fly", or type 
>>a command not planned before, an uninstalled interpretor allows it !
>>
>>So, if there is a possibility to run a perl interpretor without prior 
>>install, I remain strongly interested !
> 
> 
> I don't know about tinyperl, but certainly a bundled PAR executable
> contains a full Perl interpreter + modules, and you can choose to bundle
> in any modules you like. This means that if you make a PAR of the
> script:
> 
> #!/usr/bin/perl
> 
> do shift
> 
> __END__
> 
> it will be a stand-alone perl interpreter, not requiring any
> installation. Note that this will obviously ignore any switches given
> either on the command line or on the #! line: if you need this you will
> have to write a short script to do that yourself. Also note that getting
> 'perl -T' to work will be difficult, if you need it...
> 
> Ben
> 

Well, thank's again ... But what is this "bundled PAR executable", and 
where can I get it ? I don't understand all your comment, but I already 
fear to have the need of the command-line arguments to pass to the scripts.

Micla.


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

Date: Mon, 7 Jun 2004 18:00:54 +0000 (UTC)
From: Ben Morrow <usenet@morrow.me.uk>
Subject: Re: No-install Perl Interpretor
Message-Id: <ca2agm$218$1@wisteria.csv.warwick.ac.uk>


Quoth Micla <mick.lan@laposte.net>:
> Ben Morrow a écrit :
> 
> > Quoth Micla <mick.lan@laposte.net>:
> >>
> >>So, if there is a possibility to run a perl interpretor without prior 
> >>install, I remain strongly interested !
> > 
> > I don't know about tinyperl, but certainly a bundled PAR executable
> > contains a full Perl interpreter + modules, and you can choose to bundle
> > in any modules you like. This means that if you make a PAR of the
> > script:
> > 
> > #!/usr/bin/perl
> > 
> > do shift
> > 
> > __END__
> > 
> > it will be a stand-alone perl interpreter, not requiring any
> > installation. Note that this will obviously ignore any switches given
> > either on the command line or on the #! line: if you need this you will
> > have to write a short script to do that yourself. Also note that getting
> > 'perl -T' to work will be difficult, if you need it...
> 
> Well, thank's again ... But what is this "bundled PAR executable", and 
> where can I get it ? I don't understand all your comment, but I already 
> fear to have the need of the command-line arguments to pass to the scripts.

Install PAR.pm from CPAN. It comes with a program called 'pp' which will
take a script and create a stand-alone executable out of it.

Ben

-- 
"If a book is worth reading when you are six,                * ben@morrow.me.uk
it is worth reading when you are sixty." - C.S.Lewis


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

Date: Mon, 07 Jun 2004 13:41:44 -0000
From: Greg Bacon <gbacon@hiwaay.net>
Subject: Statistics for comp.lang.perl.misc
Message-Id: <10c8s4o7jorn3ad@corp.supernews.com>

Following is a summary of articles spanning a 7 day period,
beginning at 31 May 2004 13:57:32 GMT and ending at
07 Jun 2004 13:33:14 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:  162
Articles: 640 (263 with cutlined signatures)
Threads:  120
Volume generated: 1377.8 kb
    - headers:    594.3 kb (10,583 lines)
    - bodies:     744.4 kb (24,866 lines)
    - original:   425.4 kb (15,414 lines)
    - signatures: 38.5 kb (790 lines)

Original Content Rating: 0.572

Averages
========

Posts per poster: 4.0
    median: 2.0 posts
    mode:   1 post - 76 posters
    s:      7.0 posts
Posts per thread: 5.3
    median: 3.0 posts
    mode:   2 posts - 27 threads
    s:      7.2 posts
Message size: 2204.4 bytes
    - header:     950.8 bytes (16.5 lines)
    - body:       1191.0 bytes (38.9 lines)
    - original:   680.7 bytes (24.1 lines)
    - signature:  61.6 bytes (1.2 lines)

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

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

   57   136.9 ( 53.5/ 70.5/ 28.4)  Ben Morrow <usenet@morrow.me.uk>
   31    95.2 ( 38.3/ 52.9/ 45.3)  tadmc@augustmail.com
   26    48.3 ( 21.9/ 26.3/ 14.9)  Paul Lalli <ittyspam@yahoo.com>
   25    46.7 ( 19.1/ 27.7/ 10.5)  Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
   25    42.6 ( 24.2/ 18.4/  9.5)  "gnari" <gnari@simnet.is>
   23    36.2 ( 20.1/ 14.5/  7.1)  Gunnar Hjalmarsson <noreply@gunnar.cc>
   22    57.8 ( 22.9/ 34.8/ 17.9)  "Player" <notachance@inhell.com>
   20    41.4 ( 19.6/ 17.2/  5.9)  Uri Guttman <uri@stemsystems.com>
   20    38.0 ( 23.0/ 10.5/  3.6)  John Bokma <postmaster@castleamber.com>
   14    23.8 ( 14.1/  9.7/  5.2)  zzapper <david@tvis.co.uk>
   12    26.8 ( 12.5/ 14.3/  5.9)  "Matt Garrish" <matthew.garrish@sympatico.ca>
   11    24.6 ( 14.4/  9.4/  4.6)  "A. Sinan Unur" <1usa@llenroc.ude>
   11    25.4 ( 10.2/ 14.6/  8.6)  Brian McCauley <nobull@mail.com>
   10    14.1 (  8.0/  6.0/  2.4)  "David K. Wall" <dwall@fastmail.fm>
   10    16.4 (  9.2/  6.8/  2.0)  "John W. Krahn" <krahnj@acm.org>
   10    30.4 ( 12.6/ 17.8/  5.7)  Kevin Collins <spamtotrash@toomuchfiction.com>
    9    17.1 (  6.9/  9.6/  5.4)  J Krugman <jkrugman345@yahbitoo.com>
    9    16.1 (  9.9/  6.2/  3.4)  Joe Smith <Joe.Smith@inwap.com>
    8    12.2 (  5.6/  6.6/  4.8)  "C. A." <cabneySPAM@SPAMucsdSPAM.SPAMedu>
    7    15.1 (  5.9/  8.3/  6.9)  Walter Roberson <roberson@ibd.nrc-cnrc.gc.ca>

These posters accounted for 56.2% of all articles.

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

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

       57   136.9 ( 53.5/ 70.5/ 28.4)  Ben Morrow <usenet@morrow.me.uk>
       29    95.2 ( 38.3/ 52.9/ 45.3)  tadmc@augustmail.com
       26    48.3 ( 21.9/ 26.3/ 14.9)  Paul Lalli <ittyspam@yahoo.com>
       25    46.7 ( 19.1/ 27.7/ 10.5)  Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
       25    42.6 ( 24.2/ 18.4/  9.5)  "gnari" <gnari@simnet.is>
       23    36.2 ( 20.1/ 14.5/  7.1)  Gunnar Hjalmarsson <noreply@gunnar.cc>
       22    57.8 ( 22.9/ 34.8/ 17.9)  "Player" <notachance@inhell.com>
       20    41.4 ( 19.6/ 17.2/  5.9)  Uri Guttman <uri@stemsystems.com>
       19    38.0 ( 23.0/ 10.5/  3.6)  John Bokma <postmaster@castleamber.com>
       12    26.8 ( 12.5/ 14.3/  5.9)  "Matt Garrish" <matthew.garrish@sympatico.ca>
       11    25.4 ( 10.2/ 14.6/  8.6)  Brian McCauley <nobull@mail.com>
       11    24.6 ( 14.4/  9.4/  4.6)  "A. Sinan Unur" <1usa@llenroc.ude>
       10    14.1 (  8.0/  6.0/  2.4)  "David K. Wall" <dwall@fastmail.fm>
       10    16.4 (  9.2/  6.8/  2.0)  "John W. Krahn" <krahnj@acm.org>
       10    23.8 ( 14.1/  9.7/  5.2)  zzapper <david@tvis.co.uk>
        9    30.4 ( 12.6/ 17.8/  5.7)  Kevin Collins <spamtotrash@toomuchfiction.com>
        9    16.1 (  9.9/  6.2/  3.4)  Joe Smith <Joe.Smith@inwap.com>
        7    10.6 (  6.9/  3.6/  2.0)  "Jürgen Exner" <jurgenex@hotmail.com>
        7    15.1 (  5.9/  8.3/  6.9)  Walter Roberson <roberson@ibd.nrc-cnrc.gc.ca>
        7    13.1 (  4.6/  7.7/  4.4)  ctcgag@hotmail.com

These posters accounted for 63.1% of all followups.

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

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

 136.9 ( 53.5/ 70.5/ 28.4)     57  Ben Morrow <usenet@morrow.me.uk>
  95.2 ( 38.3/ 52.9/ 45.3)     31  tadmc@augustmail.com
  80.7 (  4.6/ 76.1/ 37.9)      4  "James Hunt" <jameskorea2003@hotmail.com>
  63.1 (  2.4/ 60.7/ 52.9)      3  markus.mohr@mazimoi.de
  57.8 ( 22.9/ 34.8/ 17.9)     22  "Player" <notachance@inhell.com>
  48.3 ( 21.9/ 26.3/ 14.9)     26  Paul Lalli <ittyspam@yahoo.com>
  46.7 ( 19.1/ 27.7/ 10.5)     25  Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
  42.6 ( 24.2/ 18.4/  9.5)     25  "gnari" <gnari@simnet.is>
  41.4 ( 19.6/ 17.2/  5.9)     20  Uri Guttman <uri@stemsystems.com>
  38.0 ( 23.0/ 10.5/  3.6)     20  John Bokma <postmaster@castleamber.com>
  36.2 ( 20.1/ 14.5/  7.1)     23  Gunnar Hjalmarsson <noreply@gunnar.cc>
  30.4 ( 12.6/ 17.8/  5.7)     10  Kevin Collins <spamtotrash@toomuchfiction.com>
  26.8 ( 12.5/ 14.3/  5.9)     12  "Matt Garrish" <matthew.garrish@sympatico.ca>
  25.4 ( 10.2/ 14.6/  8.6)     11  Brian McCauley <nobull@mail.com>
  24.6 ( 14.4/  9.4/  4.6)     11  "A. Sinan Unur" <1usa@llenroc.ude>
  23.8 ( 14.1/  9.7/  5.2)     14  zzapper <david@tvis.co.uk>
  17.1 (  6.9/  9.6/  5.4)      9  J Krugman <jkrugman345@yahbitoo.com>
  16.4 (  9.2/  6.8/  2.0)     10  "John W. Krahn" <krahnj@acm.org>
  16.1 (  9.9/  6.2/  3.4)      9  Joe Smith <Joe.Smith@inwap.com>
  15.1 (  5.9/  8.3/  6.9)      7  Walter Roberson <roberson@ibd.nrc-cnrc.gc.ca>

These posters accounted for 64.1% of the total volume.

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

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

   31   45.3  tadmc@augustmail.com
   57   28.4  Ben Morrow <usenet@morrow.me.uk>
   22   17.9  "Player" <notachance@inhell.com>
   26   14.9  Paul Lalli <ittyspam@yahoo.com>
   25   10.5  Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
   25    9.5  "gnari" <gnari@simnet.is>
   11    8.6  Brian McCauley <nobull@mail.com>
   23    7.1  Gunnar Hjalmarsson <noreply@gunnar.cc>
   12    5.9  "Matt Garrish" <matthew.garrish@sympatico.ca>
   20    5.9  Uri Guttman <uri@stemsystems.com>
   10    5.7  Kevin Collins <spamtotrash@toomuchfiction.com>
   14    5.2  zzapper <david@tvis.co.uk>
   11    4.6  "A. Sinan Unur" <1usa@llenroc.ude>
   20    3.6  John Bokma <postmaster@castleamber.com>
   10    2.4  "David K. Wall" <dwall@fastmail.fm>
   10    2.0  "John W. Krahn" <krahnj@acm.org>

These posters accounted for 41.7% of the original volume.

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

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

0.856  ( 45.3 / 52.9)     31  tadmc@augustmail.com
0.591  (  8.6 / 14.6)     11  Brian McCauley <nobull@mail.com>
0.566  ( 14.9 / 26.3)     26  Paul Lalli <ittyspam@yahoo.com>
0.537  (  5.2 /  9.7)     14  zzapper <david@tvis.co.uk>
0.518  (  9.5 / 18.4)     25  "gnari" <gnari@simnet.is>
0.515  ( 17.9 / 34.8)     22  "Player" <notachance@inhell.com>
0.490  (  7.1 / 14.5)     23  Gunnar Hjalmarsson <noreply@gunnar.cc>
0.485  (  4.6 /  9.4)     11  "A. Sinan Unur" <1usa@llenroc.ude>
0.417  (  5.9 / 14.3)     12  "Matt Garrish" <matthew.garrish@sympatico.ca>
0.405  (  2.4 /  6.0)     10  "David K. Wall" <dwall@fastmail.fm>
0.402  ( 28.4 / 70.5)     57  Ben Morrow <usenet@morrow.me.uk>
0.380  ( 10.5 / 27.7)     25  Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
0.341  (  5.9 / 17.2)     20  Uri Guttman <uri@stemsystems.com>
0.340  (  3.6 / 10.5)     20  John Bokma <postmaster@castleamber.com>
0.319  (  5.7 / 17.8)     10  Kevin Collins <spamtotrash@toomuchfiction.com>
0.293  (  2.0 /  6.8)     10  "John W. Krahn" <krahnj@acm.org>

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

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

0.856  ( 45.3 / 52.9)     31  tadmc@augustmail.com
0.591  (  8.6 / 14.6)     11  Brian McCauley <nobull@mail.com>
0.566  ( 14.9 / 26.3)     26  Paul Lalli <ittyspam@yahoo.com>
0.537  (  5.2 /  9.7)     14  zzapper <david@tvis.co.uk>
0.518  (  9.5 / 18.4)     25  "gnari" <gnari@simnet.is>
0.515  ( 17.9 / 34.8)     22  "Player" <notachance@inhell.com>
0.490  (  7.1 / 14.5)     23  Gunnar Hjalmarsson <noreply@gunnar.cc>
0.485  (  4.6 /  9.4)     11  "A. Sinan Unur" <1usa@llenroc.ude>
0.417  (  5.9 / 14.3)     12  "Matt Garrish" <matthew.garrish@sympatico.ca>
0.405  (  2.4 /  6.0)     10  "David K. Wall" <dwall@fastmail.fm>
0.402  ( 28.4 / 70.5)     57  Ben Morrow <usenet@morrow.me.uk>
0.380  ( 10.5 / 27.7)     25  Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
0.341  (  5.9 / 17.2)     20  Uri Guttman <uri@stemsystems.com>
0.340  (  3.6 / 10.5)     20  John Bokma <postmaster@castleamber.com>
0.319  (  5.7 / 17.8)     10  Kevin Collins <spamtotrash@toomuchfiction.com>
0.293  (  2.0 /  6.8)     10  "John W. Krahn" <krahnj@acm.org>

16 posters (9%) had at least ten posts.

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

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

   56  Beginner needs help with script :)
   28  Invisible Array Loop Counter?
   22  Why is this upload script not working
   20  Am I a programmer or a scripter?
   19  Escaping single quotes with sql
   18  my @hash{ @array } = syntax? (was Re: Joining 2 arrays into hashes)
   17  Unexpected subroutine behaviour without &
   15  Cute bit of Perl to Assign $1,$2 to named variables
   14  perl style and returning from function?
   14  Regexp: Lazy match workaround?
   13  Delete a line out of a flat file database
   13  reading variable and fixed length records
   13  splitting cvs file and insert in mysql via DBI
   12  Perl code design award?
   12  decode_entities possible bug?
   11  Reference to loop index in a closure
   11  CSV dB script help
   10  YAPC::2004
   10  Filtering control characters from text
    9  regexp

These threads accounted for 52.7% of all articles.

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

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

 134.1 ( 64.6/ 67.2/ 38.5)     56  Beginner needs help with script :)
  93.0 ( 11.7/ 80.6/ 40.7)     11  CSV dB script help
  74.7 (  7.5/ 66.4/ 55.8)      8  Memory problem with XML::DOM::Parser???
  53.8 ( 27.2/ 25.4/ 13.0)     28  Invisible Array Loop Counter?
  49.6 ( 21.0/ 26.9/ 16.1)     22  Why is this upload script not working
  38.4 ( 17.0/ 20.3/  8.5)     17  Unexpected subroutine behaviour without &
  34.6 ( 20.6/ 11.7/  4.5)     20  Am I a programmer or a scripter?
  34.4 (  2.1/ 32.3/ 32.3)      2  Posting Guidelines for comp.lang.perl.misc ($Revision: 1.5 $)
  33.0 ( 12.2/ 20.4/  8.2)     13  Delete a line out of a flat file database
  32.8 ( 18.1/ 13.0/  4.4)     18  my @hash{ @array } = syntax? (was Re: Joining 2 arrays into hashes)
  29.1 ( 12.7/ 15.8/  7.5)     14  Regexp: Lazy match workaround?
  28.4 ( 10.9/ 16.2/  6.6)     13  reading variable and fixed length records
  28.1 ( 12.0/ 15.6/  6.5)     12  Perl code design award?
  28.0 ( 16.9/ 10.1/  5.5)     19  Escaping single quotes with sql
  26.9 ( 14.3/ 11.5/  6.8)     15  Cute bit of Perl to Assign $1,$2 to named variables
  26.8 ( 13.5/ 12.5/  6.4)     13  splitting cvs file and insert in mysql via DBI
  26.5 ( 10.4/ 15.0/  6.2)     11  Reference to loop index in a closure
  25.4 ( 13.5/ 10.9/  4.2)     14  perl style and returning from function?
  19.9 ( 12.5/  7.3/  1.9)     12  decode_entities possible bug?
  18.5 (  6.7/ 11.3/  6.5)      8  sorting and resorting hash

These threads accounted for 60.7% of the total volume.

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

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

0.600  ( 16.1/  26.9)     22  Why is this upload script not working
0.593  (  6.8/  11.5)     15  Cute bit of Perl to Assign $1,$2 to named variables
0.572  ( 38.5/  67.2)     56  Beginner needs help with script :)
0.540  (  5.5/  10.1)     19  Escaping single quotes with sql
0.517  (  6.4/  12.5)     13  splitting cvs file and insert in mysql via DBI
0.510  ( 13.0/  25.4)     28  Invisible Array Loop Counter?
0.505  ( 40.7/  80.6)     11  CSV dB script help
0.472  (  7.5/  15.8)     14  Regexp: Lazy match workaround?
0.450  (  1.7/   3.9)     10  Filtering control characters from text
0.417  (  8.5/  20.3)     17  Unexpected subroutine behaviour without &
0.417  (  6.5/  15.6)     12  Perl code design award?
0.413  (  6.2/  15.0)     11  Reference to loop index in a closure
0.406  (  6.6/  16.2)     13  reading variable and fixed length records
0.402  (  8.2/  20.4)     13  Delete a line out of a flat file database
0.388  (  4.2/  10.9)     14  perl style and returning from function?
0.383  (  4.5/  11.7)     20  Am I a programmer or a scripter?
0.375  (  2.5/   6.6)     10  YAPC::2004
0.338  (  4.4/  13.0)     18  my @hash{ @array } = syntax? (was Re: Joining 2 arrays into hashes)
0.261  (  1.9/   7.3)     12  decode_entities possible bug?

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

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

0.600  ( 16.1 / 26.9)     22  Why is this upload script not working
0.593  (  6.8 / 11.5)     15  Cute bit of Perl to Assign $1,$2 to named variables
0.572  ( 38.5 / 67.2)     56  Beginner needs help with script :)
0.540  (  5.5 / 10.1)     19  Escaping single quotes with sql
0.517  (  6.4 / 12.5)     13  splitting cvs file and insert in mysql via DBI
0.510  ( 13.0 / 25.4)     28  Invisible Array Loop Counter?
0.505  ( 40.7 / 80.6)     11  CSV dB script help
0.472  (  7.5 / 15.8)     14  Regexp: Lazy match workaround?
0.450  (  1.7 /  3.9)     10  Filtering control characters from text
0.417  (  8.5 / 20.3)     17  Unexpected subroutine behaviour without &
0.417  (  6.5 / 15.6)     12  Perl code design award?
0.413  (  6.2 / 15.0)     11  Reference to loop index in a closure
0.406  (  6.6 / 16.2)     13  reading variable and fixed length records
0.402  (  8.2 / 20.4)     13  Delete a line out of a flat file database
0.388  (  4.2 / 10.9)     14  perl style and returning from function?
0.383  (  4.5 / 11.7)     20  Am I a programmer or a scripter?
0.375  (  2.5 /  6.6)     10  YAPC::2004
0.338  (  4.4 / 13.0)     18  my @hash{ @array } = syntax? (was Re: Joining 2 arrays into hashes)
0.261  (  1.9 /  7.3)     12  decode_entities possible bug?

19 threads (15%) had at least ten posts.

Top 8 Targets for Crossposts
============================

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

       7  comp.lang.perl
       3  phl.announce
       3  upenn.cis.general
       2  alt.perl
       2  comp.lang.perl.tk
       1  comp.lang.awk
       1  comp.os.linux.networking
       1  comp.os.linux.misc

Top 9 Crossposters
==================

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

       6  Mark Jason Dominus <mjd@plover.com>
       4  Richard Bell <rbell01824@earthlink.net>
       3  "Y W Wong" <ywwong_hk@hotmail.com>
       2  Richard Bell <rbell001824@earthlink.net>
       1  "Jürgen Exner" <jurgenex@hotmail.com>
       1  Bill <wherrera@lynxview.com>
       1  Scott Bryce <sbryce@scottbryce.com>
       1  Michele Dondi <bik.mido@tiscalinet.it>
       1  "David K. Wall" <dwall@fastmail.fm>


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

Date: 7 Jun 2004 06:28:26 -0700
From: jon.m.landenburger@verizon.com (Jon Landenburer)
Subject: syntax  $_[0]
Message-Id: <feee7535.0406070528.79d5ca1f@posting.google.com>

I inherited a small perl program.  It has this syntax whjich I donnot
iunderstand.

while (<FDF>)
    {
        $value = $_;
        if ($_[0])
         {   print TEMP $value;
             next;
         }
         $service_order = substr( $value, 21, 18);
         if ( $_[1] ) { $last_so = $service_order;}  ## record 1 force
feed
          .  .  .
          .  .  .      


Its the $_[0] I dont understand.  If this were a subroutine I would
understand that tto be the first passed parameter.  But this is not a
subroutine .  I see the comment indicating that $_[1] but that line
never gets hit


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

Date: Mon, 7 Jun 2004 09:56:30 -0400
From: Paul Lalli <lallip@dishwasher.cs.rpi.edu>
Subject: Re: syntax  $_[0]
Message-Id: <20040607095533.H8971@dishwasher.cs.rpi.edu>

On Mon, 7 Jun 2004, Jon Landenburer wrote:

> I inherited a small perl program.  It has this syntax whjich I donnot
> iunderstand.
>
> while (<FDF>)
>     {
>         $value = $_;
>         if ($_[0])
>          {   print TEMP $value;
>              next;
>          }
>          $service_order = substr( $value, 21, 18);
>          if ( $_[1] ) { $last_so = $service_order;}  ## record 1 force
> feed
>           .  .  .
>           .  .  .
>
>
> Its the $_[0] I dont understand.  If this were a subroutine I would
> understand that tto be the first passed parameter.  But this is not a
> subroutine .  I see the comment indicating that $_[1] but that line
> never gets hit

Unless @_ is defined elsewhere in the program, in code you haven't shown
us, this is non-sensical, and neither if statement should be executed.

Paul Lalli


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

Date: Tue, 08 Jun 2004 03:18:10 +1200
From: Andrew Bryson <andrew@bryson.co.nz>
Subject: Re: Using LWP to get last modified date of web page
Message-Id: <pan.2004.06.07.15.18.10.590138@bryson.co.nz>

On Sat, 05 Jun 2004 18:26:29 +0000, Joe Smith wrote:

> Spiders and crawlers download the entire page.
> In some cases, the date is the last time it went looking
> instead of the file's date.

I would hope that in all cases they would use the time they last
went looking... otherwise they would not be accurate at all.


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

Date: Mon, 07 Jun 2004 15:40:02 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Using LWP to get last modified date of web page
Message-Id: <x7ise3nzqk.fsf@mail.sysarch.com>

>>>>> "AB" == Andrew Bryson <andrew@bryson.co.nz> writes:

  AB> On Sat, 05 Jun 2004 18:26:29 +0000, Joe Smith wrote:
  >> Spiders and crawlers download the entire page.
  >> In some cases, the date is the last time it went looking
  >> instead of the file's date.

huh? some spiders do a HEAD first to avoid downloading a page that
hasn't changed. you compare the date from the HEAD with the date of the
file the last time you downloaded it. you have to assume the web server
is returning accurate and proper file timestamps.

  AB> I would hope that in all cases they would use the time they last
  AB> went looking... otherwise they would not be accurate at all.

not last looking but last modified of the fetched page. there is a last
modified field in http requests which also does this. you get a not
modified result instead of the page if it hasn't changed since you last
got it. again, this needs the server to behave nicely and not all do.

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: 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 6661
***************************************


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