[23982] in Perl-Users-Digest
Perl-Users Digest, Issue: 6183 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Feb 23 09:10:31 2004
Date: Mon, 23 Feb 2004 06:10:07 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Mon, 23 Feb 2004 Volume: 10 Number: 6183
Today's topics:
Statistics for comp.lang.perl.misc <gbacon@hiwaay.net>
Re: trapping file i/o error <Joe.Smith@inwap.com>
Re: trapping file i/o error <tassilo.parseval@rwth-aachen.de>
uninstall/install/upgrade? heitkamp@ameritech.net
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Mon, 23 Feb 2004 13:35:10 -0000
From: Greg Bacon <gbacon@hiwaay.net>
Subject: Statistics for comp.lang.perl.misc
Message-Id: <103k0cedmkmcaa@corp.supernews.com>
Following is a summary of articles spanning a 7 day period,
beginning at 16 Feb 2004 13:38:27 GMT and ending at
23 Feb 2004 12:58:07 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: 224
Articles: 955 (432 with cutlined signatures)
Threads: 175
Volume generated: 1892.7 kb
- headers: 902.7 kb (16,250 lines)
- bodies: 920.8 kb (30,097 lines)
- original: 531.1 kb (18,980 lines)
- signatures: 68.2 kb (1,596 lines)
Original Content Rating: 0.577
Averages
========
Posts per poster: 4.3
median: 2.0 posts
mode: 1 post - 86 posters
s: 10.3 posts
Posts per thread: 5.5
median: 4 posts
mode: 2 posts - 28 threads
s: 7.0 posts
Message size: 2029.4 bytes
- header: 967.9 bytes (17.0 lines)
- body: 987.3 bytes (31.5 lines)
- original: 569.4 bytes (19.9 lines)
- signature: 73.2 bytes (1.7 lines)
Top 20 Posters by Number of Posts
=================================
(kb) (kb) (kb) (kb)
Posts Volume ( hdr/ body/ orig) Address
----- -------------------------- -------
76 177.0 ( 71.4/ 86.8/ 37.1) Ben Morrow <usenet@morrow.me.uk>
45 121.2 ( 55.9/ 59.3/ 49.9) tadmc@augustmail.com
43 88.7 ( 40.4/ 38.4/ 18.4) Uri Guttman <uri@stemsystems.com>
40 74.1 ( 40.4/ 31.1/ 12.9) Gunnar Hjalmarsson <noreply@gunnar.cc>
34 62.2 ( 25.1/ 37.1/ 19.3) Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
21 37.1 ( 21.0/ 16.1/ 8.5) "gnari" <gnari@simnet.is>
20 37.6 ( 20.2/ 17.4/ 8.8) "Matt Garrish" <matthew.garrish@sympatico.ca>
20 48.7 ( 28.5/ 15.0/ 8.0) jwillmore@adelphia.net
15 34.4 ( 14.4/ 18.9/ 11.0) Brian McCauley <nobull@mail.com>
14 25.8 ( 15.0/ 10.7/ 8.0) "Alan J. Flavell" <flavell@ph.gla.ac.uk>
14 45.0 ( 10.5/ 33.3/ 18.9) Camelback Jones <ignoromnibus@cochon.fr>
14 39.8 ( 14.0/ 22.7/ 10.2) tassilo.parseval@post.rwth-aachen.de
14 25.1 ( 12.1/ 10.5/ 6.9) Michele Dondi <bik.mido@tiscalinet.it>
14 21.2 ( 14.6/ 6.6/ 3.6) Joe Smith <Joe.Smith@inwap.com>
13 17.8 ( 11.6/ 6.2/ 3.0) Gregory Toomey <nospam@bigpond.com>
11 24.1 ( 9.3/ 12.7/ 8.4) Tore Aursand <tore@aursand.no>
11 16.4 ( 10.8/ 3.7/ 1.5) toylet <toylet_at_mail.hongkong.com>
11 22.1 ( 15.6/ 6.5/ 5.3) Sherm Pendley <spamtrap@dot-app.org>
10 25.3 ( 9.7/ 14.2/ 8.9) Eric Schwartz <emschwar@pobox.com>
10 16.8 ( 9.4/ 7.4/ 2.7) fifo <fifo@despammed.com>
These posters accounted for 47.1% of all articles.
Top 20 Posters by Number of Followups
=====================================
(kb) (kb) (kb) (kb)
Followups Volume ( hdr/ body/ orig) Address
--------- -------------------------- -------
76 177.0 ( 71.4/ 86.8/ 37.1) Ben Morrow <usenet@morrow.me.uk>
43 88.7 ( 40.4/ 38.4/ 18.4) Uri Guttman <uri@stemsystems.com>
43 121.2 ( 55.9/ 59.3/ 49.9) tadmc@augustmail.com
40 74.1 ( 40.4/ 31.1/ 12.9) Gunnar Hjalmarsson <noreply@gunnar.cc>
34 62.2 ( 25.1/ 37.1/ 19.3) Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
21 37.1 ( 21.0/ 16.1/ 8.5) "gnari" <gnari@simnet.is>
20 48.7 ( 28.5/ 15.0/ 8.0) jwillmore@adelphia.net
20 37.6 ( 20.2/ 17.4/ 8.8) "Matt Garrish" <matthew.garrish@sympatico.ca>
15 34.4 ( 14.4/ 18.9/ 11.0) Brian McCauley <nobull@mail.com>
14 39.8 ( 14.0/ 22.7/ 10.2) tassilo.parseval@post.rwth-aachen.de
14 21.2 ( 14.6/ 6.6/ 3.6) Joe Smith <Joe.Smith@inwap.com>
13 25.1 ( 12.1/ 10.5/ 6.9) Michele Dondi <bik.mido@tiscalinet.it>
13 17.8 ( 11.6/ 6.2/ 3.0) Gregory Toomey <nospam@bigpond.com>
12 45.0 ( 10.5/ 33.3/ 18.9) Camelback Jones <ignoromnibus@cochon.fr>
12 25.8 ( 15.0/ 10.7/ 8.0) "Alan J. Flavell" <flavell@ph.gla.ac.uk>
11 22.1 ( 15.6/ 6.5/ 5.3) Sherm Pendley <spamtrap@dot-app.org>
10 16.4 ( 10.8/ 3.7/ 1.5) toylet <toylet_at_mail.hongkong.com>
10 25.3 ( 9.7/ 14.2/ 8.9) Eric Schwartz <emschwar@pobox.com>
10 12.0 ( 7.4/ 4.2/ 2.0) Glenn Jackman <xx087@freenet.carleton.ca>
10 16.8 ( 9.4/ 7.4/ 2.7) fifo <fifo@despammed.com>
These posters accounted for 54.2% of all followups.
Top 20 Posters by Volume
========================
(kb) (kb) (kb) (kb)
Volume ( hdr/ body/ orig) Posts Address
-------------------------- ----- -------
177.0 ( 71.4/ 86.8/ 37.1) 76 Ben Morrow <usenet@morrow.me.uk>
121.2 ( 55.9/ 59.3/ 49.9) 45 tadmc@augustmail.com
88.7 ( 40.4/ 38.4/ 18.4) 43 Uri Guttman <uri@stemsystems.com>
74.1 ( 40.4/ 31.1/ 12.9) 40 Gunnar Hjalmarsson <noreply@gunnar.cc>
62.2 ( 25.1/ 37.1/ 19.3) 34 Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
48.7 ( 28.5/ 15.0/ 8.0) 20 jwillmore@adelphia.net
45.0 ( 10.5/ 33.3/ 18.9) 14 Camelback Jones <ignoromnibus@cochon.fr>
39.8 ( 14.0/ 22.7/ 10.2) 14 tassilo.parseval@post.rwth-aachen.de
37.6 ( 20.2/ 17.4/ 8.8) 20 "Matt Garrish" <matthew.garrish@sympatico.ca>
37.1 ( 21.0/ 16.1/ 8.5) 21 "gnari" <gnari@simnet.is>
34.4 ( 14.4/ 18.9/ 11.0) 15 Brian McCauley <nobull@mail.com>
25.8 ( 8.5/ 17.0/ 12.5) 9 thumb_42@yahoo.com
25.8 ( 15.0/ 10.7/ 8.0) 14 "Alan J. Flavell" <flavell@ph.gla.ac.uk>
25.3 ( 9.7/ 14.2/ 8.9) 10 Eric Schwartz <emschwar@pobox.com>
25.1 ( 12.1/ 10.5/ 6.9) 14 Michele Dondi <bik.mido@tiscalinet.it>
24.1 ( 9.3/ 12.7/ 8.4) 11 Tore Aursand <tore@aursand.no>
22.1 ( 15.6/ 6.5/ 5.3) 11 Sherm Pendley <spamtrap@dot-app.org>
21.2 ( 14.6/ 6.6/ 3.6) 14 Joe Smith <Joe.Smith@inwap.com>
21.1 ( 7.8/ 12.9/ 7.2) 7 see@sig.invalid
17.8 ( 11.6/ 6.2/ 3.0) 13 Gregory Toomey <nospam@bigpond.com>
These posters accounted for 51.5% of the total volume.
Top 20 Posters by Volume of Original Content (min. ten posts)
=============================================================
(kb)
Posts orig Address
----- ----- -------
45 49.9 tadmc@augustmail.com
76 37.1 Ben Morrow <usenet@morrow.me.uk>
34 19.3 Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
14 18.9 Camelback Jones <ignoromnibus@cochon.fr>
43 18.4 Uri Guttman <uri@stemsystems.com>
40 12.9 Gunnar Hjalmarsson <noreply@gunnar.cc>
15 11.0 Brian McCauley <nobull@mail.com>
14 10.2 tassilo.parseval@post.rwth-aachen.de
10 8.9 Eric Schwartz <emschwar@pobox.com>
20 8.8 "Matt Garrish" <matthew.garrish@sympatico.ca>
21 8.5 "gnari" <gnari@simnet.is>
11 8.4 Tore Aursand <tore@aursand.no>
14 8.0 "Alan J. Flavell" <flavell@ph.gla.ac.uk>
20 8.0 jwillmore@adelphia.net
14 6.9 Michele Dondi <bik.mido@tiscalinet.it>
11 5.3 Sherm Pendley <spamtrap@dot-app.org>
14 3.6 Joe Smith <Joe.Smith@inwap.com>
13 3.0 Gregory Toomey <nospam@bigpond.com>
10 2.7 fifo <fifo@despammed.com>
10 2.0 Glenn Jackman <xx087@freenet.carleton.ca>
These posters accounted for 47.4% of the original volume.
Top 20 Posters by OCR (minimum of ten posts)
============================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
0.841 ( 49.9 / 59.3) 45 tadmc@augustmail.com
0.819 ( 5.3 / 6.5) 11 Sherm Pendley <spamtrap@dot-app.org>
0.744 ( 8.0 / 10.7) 14 "Alan J. Flavell" <flavell@ph.gla.ac.uk>
0.659 ( 6.9 / 10.5) 14 Michele Dondi <bik.mido@tiscalinet.it>
0.656 ( 8.4 / 12.7) 11 Tore Aursand <tore@aursand.no>
0.626 ( 8.9 / 14.2) 10 Eric Schwartz <emschwar@pobox.com>
0.583 ( 11.0 / 18.9) 15 Brian McCauley <nobull@mail.com>
0.568 ( 18.9 / 33.3) 14 Camelback Jones <ignoromnibus@cochon.fr>
0.536 ( 3.6 / 6.6) 14 Joe Smith <Joe.Smith@inwap.com>
0.532 ( 8.0 / 15.0) 20 jwillmore@adelphia.net
0.530 ( 8.5 / 16.1) 21 "gnari" <gnari@simnet.is>
0.521 ( 19.3 / 37.1) 34 Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
0.505 ( 8.8 / 17.4) 20 "Matt Garrish" <matthew.garrish@sympatico.ca>
0.486 ( 3.0 / 6.2) 13 Gregory Toomey <nospam@bigpond.com>
0.481 ( 2.0 / 4.2) 10 Glenn Jackman <xx087@freenet.carleton.ca>
0.479 ( 18.4 / 38.4) 43 Uri Guttman <uri@stemsystems.com>
0.451 ( 10.2 / 22.7) 14 tassilo.parseval@post.rwth-aachen.de
0.427 ( 37.1 / 86.8) 76 Ben Morrow <usenet@morrow.me.uk>
0.416 ( 12.9 / 31.1) 40 Gunnar Hjalmarsson <noreply@gunnar.cc>
0.413 ( 1.5 / 3.7) 11 toylet <toylet_at_mail.hongkong.com>
Bottom 20 Posters by OCR (minimum of ten posts)
===============================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
0.819 ( 5.3 / 6.5) 11 Sherm Pendley <spamtrap@dot-app.org>
0.744 ( 8.0 / 10.7) 14 "Alan J. Flavell" <flavell@ph.gla.ac.uk>
0.659 ( 6.9 / 10.5) 14 Michele Dondi <bik.mido@tiscalinet.it>
0.656 ( 8.4 / 12.7) 11 Tore Aursand <tore@aursand.no>
0.626 ( 8.9 / 14.2) 10 Eric Schwartz <emschwar@pobox.com>
0.583 ( 11.0 / 18.9) 15 Brian McCauley <nobull@mail.com>
0.568 ( 18.9 / 33.3) 14 Camelback Jones <ignoromnibus@cochon.fr>
0.536 ( 3.6 / 6.6) 14 Joe Smith <Joe.Smith@inwap.com>
0.532 ( 8.0 / 15.0) 20 jwillmore@adelphia.net
0.530 ( 8.5 / 16.1) 21 "gnari" <gnari@simnet.is>
0.521 ( 19.3 / 37.1) 34 Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
0.505 ( 8.8 / 17.4) 20 "Matt Garrish" <matthew.garrish@sympatico.ca>
0.486 ( 3.0 / 6.2) 13 Gregory Toomey <nospam@bigpond.com>
0.481 ( 2.0 / 4.2) 10 Glenn Jackman <xx087@freenet.carleton.ca>
0.479 ( 18.4 / 38.4) 43 Uri Guttman <uri@stemsystems.com>
0.451 ( 10.2 / 22.7) 14 tassilo.parseval@post.rwth-aachen.de
0.427 ( 37.1 / 86.8) 76 Ben Morrow <usenet@morrow.me.uk>
0.416 ( 12.9 / 31.1) 40 Gunnar Hjalmarsson <noreply@gunnar.cc>
0.413 ( 1.5 / 3.7) 11 toylet <toylet_at_mail.hongkong.com>
0.372 ( 2.7 / 7.4) 10 fifo <fifo@despammed.com>
21 posters (9%) had at least ten posts.
Top 20 Threads by Number of Posts
=================================
Posts Subject
----- -------
36 more stripping
28 Why is Perl losing ground?
26 Posting Usenet News Messages
22 Simple code runs on linux, but not on windows -- why?
22 Listbox and passing entries
21 OPEN( , Get , or slurping problem
19 I wish buy Perl book
16 trapping file i/o error
15 can s/// return a new value, rather than modifying it's input argument?
15 Unexplained output for PERL print statement
14 perl fileio
14 finding common words
13 Beginner question on @INC
13 do not reload
12 understanding perl "get ($url) " function
12 newbie: inheritance
12 Multiple substitution in a complex RE
12 help on hash of hashes
12 PERL/MySQL tutorial
11 Matching quoted strings
These threads accounted for 36.1% of all articles.
Top 20 Threads by Volume
========================
(kb) (kb) (kb) (kb)
Volume ( hdr/ body/ orig) Posts Subject
-------------------------- ----- -------
79.0 ( 37.9/ 39.2/ 22.3) 36 more stripping
71.5 ( 24.4/ 44.1/ 22.8) 26 Posting Usenet News Messages
70.7 ( 30.2/ 38.4/ 21.0) 28 Why is Perl losing ground?
46.2 ( 24.5/ 19.4/ 12.0) 22 Simple code runs on linux, but not on windows -- why?
44.3 ( 24.5/ 18.7/ 9.6) 22 Listbox and passing entries
39.4 ( 20.8/ 15.9/ 8.0) 21 OPEN( , Get , or slurping problem
35.1 ( 16.7/ 16.2/ 9.2) 16 trapping file i/o error
34.4 ( 2.1/ 32.3/ 32.3) 2 Posting Guidelines for comp.lang.perl.misc ($Revision: 1.5 $)
32.8 ( 10.1/ 22.5/ 10.5) 12 help on hash of hashes
31.5 ( 14.5/ 16.0/ 9.8) 13 Beginner question on @INC
31.0 ( 19.9/ 9.0/ 4.0) 19 I wish buy Perl book
29.9 ( 14.7/ 13.6/ 7.3) 15 can s/// return a new value, rather than modifying it's input argument?
26.6 ( 11.3/ 14.7/ 10.3) 11 CGi parameters lost
26.6 ( 12.2/ 13.7/ 6.4) 14 finding common words
26.3 ( 14.3/ 10.0/ 6.7) 14 perl fileio
24.8 ( 8.9/ 15.9/ 11.4) 8 Example of web application done right?
23.7 ( 14.1/ 8.9/ 5.2) 15 Unexplained output for PERL print statement
23.0 ( 10.2/ 12.1/ 5.1) 12 understanding perl "get ($url) " function
22.9 ( 9.8/ 12.0/ 6.2) 12 newbie: inheritance
22.5 ( 11.9/ 8.8/ 4.4) 11 Regular Expresions & pattern matching (mis)understanding
These threads accounted for 39.2% of the total volume.
Top 20 Threads by OCR (minimum of ten posts)
============================================
(kb) (kb)
OCR orig / body Posts Subject
----- -------------- ----- -------
0.703 ( 10.3/ 14.7) 11 CGi parameters lost
0.670 ( 6.7/ 10.0) 14 perl fileio
0.619 ( 12.0/ 19.4) 22 Simple code runs on linux, but not on windows -- why?
0.610 ( 9.8/ 16.0) 13 Beginner question on @INC
0.607 ( 3.0/ 4.9) 12 PERL/MySQL tutorial
0.576 ( 5.2/ 8.9) 15 Unexplained output for PERL print statement
0.569 ( 22.3/ 39.2) 36 more stripping
0.567 ( 9.2/ 16.2) 16 trapping file i/o error
0.561 ( 3.2/ 5.7) 11 Configuration question
0.560 ( 4.1/ 7.3) 13 do not reload
0.548 ( 21.0/ 38.4) 28 Why is Perl losing ground?
0.534 ( 7.3/ 13.6) 15 can s/// return a new value, rather than modifying it's input argument?
0.533 ( 4.0/ 7.5) 10 very strange conditional problem
0.518 ( 6.2/ 12.0) 12 newbie: inheritance
0.516 ( 22.8/ 44.1) 26 Posting Usenet News Messages
0.512 ( 9.6/ 18.7) 22 Listbox and passing entries
0.504 ( 8.0/ 15.9) 21 OPEN( , Get , or slurping problem
0.500 ( 3.1/ 6.2) 10 Perl memory allocation
0.495 ( 4.4/ 8.8) 11 Regular Expresions & pattern matching (mis)understanding
0.485 ( 3.0/ 6.2) 11 Newbie file / string question
Bottom 20 Threads by OCR (minimum of ten posts)
===============================================
(kb) (kb)
OCR orig / body Posts Subject
----- -------------- ----- -------
0.560 ( 4.1 / 7.3) 13 do not reload
0.548 ( 21.0 / 38.4) 28 Why is Perl losing ground?
0.534 ( 7.3 / 13.6) 15 can s/// return a new value, rather than modifying it's input argument?
0.533 ( 4.0 / 7.5) 10 very strange conditional problem
0.518 ( 6.2 / 12.0) 12 newbie: inheritance
0.516 ( 22.8 / 44.1) 26 Posting Usenet News Messages
0.512 ( 9.6 / 18.7) 22 Listbox and passing entries
0.504 ( 8.0 / 15.9) 21 OPEN( , Get , or slurping problem
0.500 ( 3.1 / 6.2) 10 Perl memory allocation
0.495 ( 4.4 / 8.8) 11 Regular Expresions & pattern matching (mis)understanding
0.485 ( 3.0 / 6.2) 11 Newbie file / string question
0.470 ( 3.4 / 7.3) 11 Matching quoted strings
0.469 ( 6.4 / 13.7) 14 finding common words
0.467 ( 10.5 / 22.5) 12 help on hash of hashes
0.451 ( 3.1 / 6.9) 12 Multiple substitution in a complex RE
0.451 ( 4.1 / 9.1) 11 method reference - repost
0.447 ( 4.0 / 9.0) 19 I wish buy Perl book
0.430 ( 4.4 / 10.2) 10 FORM POST submission
0.425 ( 5.1 / 12.1) 12 understanding perl "get ($url) " function
0.403 ( 3.6 / 8.9) 10 Replacing a text in multiple files with regular expressions
29 threads (16%) had at least ten posts.
Top 9 Targets for Crossposts
============================
Articles Newsgroup
-------- ---------
23 comp.lang.perl
7 alt.perl
6 comp.unix.shell
6 comp.lang.perl.modules
4 comp.unix.bsd.freebsd.misc
1 comp.sys.ibm.as400.misc
1 alt.www.webmaster
1 comp.lang.perl.moderated
1 comp.infosystems.www.authoring.cgi
Top 20 Crossposters
===================
Articles Address
-------- -------
9 Ben Morrow <usenet@morrow.me.uk>
6 NNTP <news8080@yahoo.com>
4 "SpecialK" <gkincade1@austin.rr.com>
4 "Joti" <spam@gurka.se>
2 Exide Arabellan <exide@comcast.net>
2 thumb_42@yahoo.com
2 Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
2 toylet <toylet_at_mail.hongkong.com>
2 Paul Southworth <cnhyf-1076907600@usenet.etext.org>
2 Joe Smith <Joe.Smith@inwap.com>
2 J. Romano <jl_post@hotmail.com>
1 no@nowhere.com
1 "Paanwa" <paanwa@hotmail.com>
1 toylet <toylet@mail.hongkong.com>
1 "Steven N. Hirsch" <shirsch@adelphia.net>
1 Gunnar Hjalmarsson <noreply@gunnar.cc>
1 Dan Pelton <dnp@ams.org>
1 Brian McCauley <nobull@mail.com>
1 Big and Blue <No_4@dsl.pipex.com>
1 Patrick <ptully@avatartechnology.com>
------------------------------
Date: Mon, 23 Feb 2004 08:46:27 GMT
From: Joe Smith <Joe.Smith@inwap.com>
Subject: Re: trapping file i/o error
Message-Id: <D5j_b.384832$na.591140@attbi_s04>
toylet wrote:
>>> for array
>>> for hash
>>
>>
>> eh what? Please explain what you expect, e.g., (hash)$i to achieve?
>
> Just asking for a general method of forcing context.
($a,$b) = foo(); # List context
@array = foo(); # List context
%hash = foo(); # List context
foo(); # Null context
$var = foo(); # Scalar context
$var = +foo(); # Numeric scalar context
$var = foo().""; # String scalar context
if (foo()) {}; # Boolean scalar context
-Joe
------------------------------
Date: 23 Feb 2004 09:16:56 GMT
From: "Tassilo v. Parseval" <tassilo.parseval@rwth-aachen.de>
Subject: Re: trapping file i/o error
Message-Id: <c1cge8$9ej$1@nets3.rz.RWTH-Aachen.DE>
[ F'up set to clpm;
comp.lang.perl doesn't exist ]
Also sprach Joe Smith:
> toylet wrote:
>> Just asking for a general method of forcing context.
>
> ($a,$b) = foo(); # List context
> @array = foo(); # List context
> %hash = foo(); # List context
> foo(); # Null context
> $var = foo(); # Scalar context
> $var = +foo(); # Numeric scalar context
Nope. This does not force numeric context. This does:
$var = foo() + 0;
Or this:
$var = foo() * 1;
Any numeric operator in conjunction with the neutral element with
respect to the used operator can be used to enforce numeric context.
Tassilo
--
$_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({
pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#;
$_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval
------------------------------
Date: Mon, 23 Feb 2004 12:56:49 GMT
From: heitkamp@ameritech.net
Subject: uninstall/install/upgrade?
Message-Id: <lMm_b.4855$t16.3585564@newssvr28.news.prodigy.com>
Keywords: uninstall, perl
I've googled around for answers on this subject but have not found
any that actually answers my questions to my statisfaction.
I have several successive versions of perl installed on my system,
specifically 5.6.1, 5.8.0, and 5.8.2. I use the configure/Configure
scripts to install perl. I have not to this point used rpm or dpkg
to install perl -a long story that I don't want to get into. In any
event, I see that 5.8.3 is out and I want to keep up with the latest
version.
To uninstall my old versions of perl is it sufficient to blow away
the old /usr/lib/perl5/5.x.y directory or is this going to break a lot
of things? Does the new version of perl, when installed, know or care
about these old directories. Does it search for installed modules in
these directories. If it does, can new versions actually run all or
most of the old modules. Note that though I understand it may be a
lot of work, I am not adverse to reinstalling modules. I have a
good dsl connection and I have used MCPAN.
The main things I'm worried about is programs finding old modules
instead of newer versions, also if the old modules are just taking
up disk space, then getting rid if them would seem to be appropriate
anyway.
I suppose one may want to keep the last stable major version around
for compatibility reasons, say for example 5.6.1. Is this true?
If there are identically named modules in the old version and the
new version, how do I know which one gets run?
Lastly, out of curiosity, why has no module uninstaller or perl
uninstaller been included natively in perl? When the modules are
listed in MCPAN what modules is it showing? Is it just the modules
from the last installed version?
Any thoughts welcome.
--
Fred
Error Loading Explorer.exe
You must reinstall Windows.
------------------------------
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 6183
***************************************