[10944] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 4546 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Jan 4 20:17:23 1999

Date: Mon, 4 Jan 99 17:04:22 -0800
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, 4 Jan 1999     Volume: 8 Number: 4546

Today's topics:
    Re: install modules for perl in active perl <jwarner@tivoli.com>
    Re: installing DBI-1.02  problems!!  :( <jwarner@tivoli.com>
    Re: Is interpolation/parsing in s/// possible? (Tad McClellan)
    Re: Is it possible with perl? <Nat_Guyton@aimfunds.com>
    Re: List Boxes in Perl (brian d foy)
    Re: looking for perl programmer (Snowhare)
        mod_perl and database connections <corus@my-dejanews.com>
    Re: mod_perl and database connections <zenin@bawdycaste.org>
        mode permissions in perl (Thomas Frederick O'Connell)
    Re: Need help on Perl script <jwarner@tivoli.com>
    Re: Need help on Perl script (Groovy94)
    Re: Need to output a file starting at a specified line (Craig Berry)
        New posters to comp.lang.perl.misc <gbacon@cs.uah.edu>
    Re: New to perl (Clinton Pierce)
    Re: New to perl <uri@home.sysarch.com>
    Re: New to perl <burt.adsit@gte.net>
    Re: noop <engineer@noorg.org>
    Re: Obtaining filename In 'require' file (Andrew M. Langmead)
    Re: Official Perl Movie (Tad McClellan)
    Re: Official Perl Movie <buettner@cse.unl.edu>
    Re: open new window? <nospam_staffan@ngb.se>
        Package privacy problem <aidan@salvador.blackstar.co.uk>
        Special: Digest Administrivia (Last modified: 12 Dec 98 (Perl-Users-Digest Admin)

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

Date: Mon, 04 Jan 1999 15:20:11 -0600
From: John Warner <jwarner@tivoli.com>
Subject: Re: install modules for perl in active perl
Message-Id: <3691308B.4A71211E@tivoli.com>

If you have a C compiler installed, you can use the make utility that comes
with it to compile and install modules you find on CPAN.  Most of the modules
you will find there are designed to be installed on a Unix box but the
installation procedures are substantially similar.  If you receive an error,
post any error messages to this group and someone should be able to help you.
It has been my experience that most problems with makefiles are related to a
bad path (compiler looking in the wrong place for whatever reason).

HTH,

John Warner

Richard Lui wrote:

> I've installed ActiveState Perl in my PC running windows95. The
> whole version of perl is installed in c:\perl
>
> I want to install some modules as instructed in
>         http://www.activeState.com/ActivePerl/docs/
>
> It indicates that I can make use of the PPM when connected to the
> internet through PPP.
> I connected to the Internet and run C:\perl\bin\ppm.bat and the prompt
>         PPM>
> appears. As illustrated, I use the 'search' command to look at the
> available modules but it did not return any available module.
>
> Therefore, I suspect whether it is because of the proxy server.
> and so with reference to the  "PPM and Firewalls" page, i follow the
> instructions.
>
> In the first step, "Update your PPM", i have to download a download a
> PPM package and installed the PPD file into a directory c:\package
> The corresponding .tar.gz file is placed in the c:\package\x86.
>
> I try to run the following command as instructed in step 1 in c:\perl\bin:
>         perl ppm.pl install ppm --location=c:\package
>
> but it said
>
> "Error installing package 'ppm': Cannot forceunlink C:\Perl\bin\ppm.pl:
>  Permission denied at C:\PERL\lib/File/Find.pm line 166"
>
> After that, when i want to run the ppm.bat again, the following message
> appear:
> Attribute VERSION=" missing an ending quote.
> Attribute VERSION=" missing an ending quote.
> Attribute VERSION=" missing an ending quote.
> Attribute VERSION=" missing an ending quote.
> Attribute VERSION=" missing an ending quote.
> Attribute VERSION=" missing an ending quote.
> Attribute VERSION=" missing an ending quote.
>
> Therefore, the 1 step already seems to be failed and i can't continue with
> my installation. I've also tried to set the environmental variable
> HTTP_PROXY but it still fails.
>
> Are the above steps the proper way to install the modules?
>
> If I just download the package without PPM,  am i really required
> to use the "make" to compile? (It is inconvenient as I am in dos
> environment)
>
> What other ways can i try to achieve the same goal without using make or
> PPM? Can i just download some executable files without those troublesome
> steps to install the modules?
>
> What are the proper steps for me to take in order that I can set up for my
> proxy server in Perl?
>
> Thank You for your help.



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

Date: Mon, 04 Jan 1999 16:03:26 -0600
From: John Warner <jwarner@tivoli.com>
Subject: Re: installing DBI-1.02  problems!!  :(
Message-Id: <36913AAE.42AF0BA@tivoli.com>

Unless you are going through a proxy server (or writing one), you can ignore the
warning about the optional modules.  I just went through this exercise last week
installing DBI so I could then install DBD::Oracle.  So long as the System DSN is
set up to point at the correct server on your network, blow off the message.

John Warner

crstlblu@planet.eon.net wrote:

> Hello:
>
> downloaded and installed (self extracting exe file called "APi508e.exe"... I
> ended up with a working (? I think, because perl will run simple print and
> variable shuffles and sorts etc to THE SCREEN) - copy of "ActivePerl v5.00502"
>
> now of course i would like to access databases; i also downloaded the latest
> versions of:  DBI-1.02;...
>
>         the DBI makefile is located in c:\perl\lib\Dbi-1.02\makefile.pl
>         so from BOTH the c:\perl  directory i tried to run it, also from
>         the c:\perl\lib\Dbi-1.02 directory....
>
> BOTH times i got an error message that said that:
>         "optional pRPC-module (pRPC::Client and etc.) are not
>         installed,... and that the DBD::ProxyDriver & DBI::ProxyServer won't
>         work or something like that...
>
> THEN i download the latest pRPC-modules-0.1005,....
>         put those dir&files into the c:\perl\lib\pRPC-modules-0.1005\  directory
>         and try to run the makefile in that directory from BOTH the c:\perl
>         root directory, as well as from locally within the
>         c:\perl\lib\pRPC-modules-0.1005\  directory
>
> BOTH TIMES i got the following error message from that:
>
>         CHECKING FOR STORABLE,
>         YOU MUST HAVE INSTALLED "STORABLE" MODULE
>         then it told me some places to check the WEB for it,
>         which i did but i found nothing
>
> Does anybody know what i should do?  this is so much fun trying to simply build
> a working win95 perl developement platform - WHO NEEDS TO LEARN PROGRAMMING?  :)
>
> wayne.
> thanks for any help you can.



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

Date: Mon, 4 Jan 1999 10:27:52 -0600
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Is interpolation/parsing in s/// possible?
Message-Id: <86qq67.gdt.ln@magna.metronet.com>

Jonathan Stowe (gellyfish@btinternet.com) wrote:
: On 3 Jan 1999 22:29:49 GMT Tom Christiansen wrote:
: >  [courtesy cc of this posting sent to cited author via email]
: > 
: > In comp.lang.perl.misc, Jonathan Stowe <gellyfish@btinternet.com> writes:
: > :Using the eval() with the /e modifier seems (to me anyhow)
: > :to be the only way of doing this.
: > 
: > Using /ee seems more straightforward.  But this is a strange
: > bunch of requirements, methinks.
: > 

: That /ee thing had gone straight in one eye and out the other I'm afraid.

: Logically I assume that it is the only one of these modifiers that behaves
: this way - but I cant actually remember seeing it documented only referred
: to here (in retrospect and copious grepping of my news spool).


   But grepping of the standard docs reveals in easily enough  ;-)

      grep '/ee' *.pod


   It is hidden in a comment in an example in the 
   s/PATTERN/REPLACEMENT/egimosx section of perlop:


-----------
    # /e's can even nest;  this will expand
    # any embedded scalar variable (including lexicals) in $_
    s/(\$\w+)/$1/eeg;
-----------


--
    Tad McClellan                          SGML Consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


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

Date: Mon, 04 Jan 1999 15:24:56 -0600
From: Nat Guyton <Nat_Guyton@aimfunds.com>
Subject: Re: Is it possible with perl?
Message-Id: <369131A8.946B355A@aimfunds.com>

This is a multi-part message in MIME format.
--------------7B395054D0C5CC2D526FAF52
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Zenin wrote:
> 
> [posted & mailed]
> 
> Ys_Kim <khw101@chollian.net> wrote:
> : Is it possible to submit a form to multiful cgi scripts at the same time
> : and each script located in different places?
> : I'm making an web site which automatically cross-post messages
> : from the site to 5 different sites's message boards at the same time.
> : I saw the similar scripts which help registering my homepage to
> : serveral search engine.
> : But They have many submit buttons in a page for the search engines
> : and I had to click on all submit buttons.
> : Is it possible to post messages to several places at the same time
> : automatically by just one clicking?
> : Any good advice will be highly appreciated.
> 
>         Yes, it's quite possible, though indirectly.
> 
>         I'd recommend creating one CGI form handler that collects the data,
>         and then using the LWP modules ("lib-www" found at your local CPAN),
>         resubmit the information to each of the other sites.
> 
>         Since each sight may likely have a different interface, you'd be
>         well advised to abstract out the handlers into there own modules and
>         dynamically load them and/or use a dispatch table.
> 
>         HTML Form
>            \
>             ->Your CGI
>                \ /
>                 |
>                 |-> Some site
>                 |-> Another site
>                 \-> Still another site
>         <---HTML Back from your CGI to the user.
> 


Alternatively, by the Perl mantra "there's always more than one way to do it",
a completely non-perl way is to use frames and javascript: one submit button
calls submit in the other frames (that don't have submit buttons) before
submitting itself.  This avoids the necessity of needing a cgi server of your
own if you are pointing to several others...

Personally, I prefer the above perl approach, but I guess it depends on your
needs.
--------------7B395054D0C5CC2D526FAF52
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Nat Guyton
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Nat Guyton
n:              Guyton;Nat
org:            AIM Management
email;internet: Nat_Guyton@aimfunds.com
tel;work:       713-214-7687
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


--------------7B395054D0C5CC2D526FAF52--



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

Date: Mon, 04 Jan 1999 12:09:42 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: List Boxes in Perl
Message-Id: <comdog-ya02408000R0401991209420001@news.panix.com>

In article <3690116e.64423191@news.chaven.com>, amerar@unsu.com (Arthur Merar) posted:

> If I have an HTML form that has a multiple selection list box, what
> type of code do I need to get all my selections?  Currently I am only
> able to access the last selected option.

sounds like you aren't using CGI.pm.  if not, switch to that.

> This leads into another question.  If I need to repost the form data,
> including the list box data as hidden fields, how would I do this?

use the LWP module.  the docs have examples.

good luck :)

-- 
brian d foy                    
CGI Meta FAQ <URL:http://www.smithrenaud.com/public/CGI_MetaFAQ.html>


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

Date: Mon, 04 Jan 1999 18:42:55 GMT
From: snowhare@devilbunnies.org (Snowhare)
Subject: Re: looking for perl programmer
Message-Id: <PY7k2.3368$hN4.43401@typhoon-sf.snfc21.pbi.net>



Nothing above this line is part of the signed message.

In article <36907D62.DD53F1A3@c-zone.net>,
TRG Software  <chatmaster@c-zone.net> wrote:
>I dont know much about the hardware but its a unix server on the fast
>connection to the net on a DSL ( faster then a t-3)  line you will be

Hmmm...At this level of cluelessness you would expect him to be in
retail computer sales. :))))

Benjamin Franz
"The difference between a con man and a computer salesman is the
 con man _knows_ he's lying."


Version: 2.6.2

iQCVAwUBNpEL7ejpikN3V52xAQEH/wQAhVfBoLnTBKwNAyDeeTqnWhLdKEU9sybP
ROtbZ9FF2UzGMLi/nZTXyDBp3gy6JqEWTTX0EndQAmdrIYf97Dzz7jSzM0TVThSo
H8ocy9UJeqItn67xLt3r+2n7JIdcJ0nr3h2d31cWypEYenPceevwqDmaa8PYS2sI
ozMU2Hhyv1M=
=4tdo
-----END PGP SIGNATURE-----


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

Date: Mon, 04 Jan 1999 20:12:54 +0000
From: corus <corus@my-dejanews.com>
Subject: mod_perl and database connections
Message-Id: <369120C6.FE440071@my-dejanews.com>

Hi all.

I have a bunch of cgi scripts that get invoked by Apache and talk to a
database.
(How unusual!!!)

I was recently reading about mod_perl and the wonders it can do,
especially in cases of scripts with high overheads.
The text went on to say that mod_perl is particularly beneficial to
database accessing scripts, as connections don't need to be closed but
are reused through successive invocations, as the script never really
dies.

Here's the question:
What happens with database connections (or other shared resources) if
two invocations take place at the same time?

Would I have to provide some sort of 'database connection' locking
mechanism so that the second request doesn't try to use the same
connection as the first one is using?

Do I in general open a number of database connections on startup and
keep them waiting for clients?

Any advice/sample code is appreciated.


Thanks.


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

Date: 04 Jan 1999 21:50:00 GMT
From: Zenin <zenin@bawdycaste.org>
Subject: Re: mod_perl and database connections
Message-Id: <915486746.908430@thrush.omix.com>

[posted & mailed]

corus <corus@my-dejanews.com> wrote:
: I was recently reading about mod_perl and the wonders it can do,
: especially in cases of scripts with high overheads. The text went on to
: say that mod_perl is particularly beneficial to database accessing
: scripts, as connections don't need to be closed but are reused through
: successive invocations, as the script never really dies.

	This can be very good or very bad, depending on the application.

: Here's the question:
: What happens with database connections (or other shared resources) if
: two invocations take place at the same time?

	Each child server has its own copy of the mod_perl script and any
	resources it uses. -This is why the above can be very bad, as if
	your server desides to spawn 50 children (not uncommon at all)
	you've got 50 open database connections under Apache::DBI (even if
	only 1 is ever in use at any given point in time...).  Two scripts
	need to use two different logins?  Make that 100 connections, and
	on and on...

	It scales great in some cases, and like mud in many others.  Java
	Servlets have similar problems with cached resources inside web
	servers.  This is why "MiddleWare" application servers are quite a
	bit more scalable.  They add an extra layer, but often can be
	optimized in ways that web severs can't be.

: Would I have to provide some sort of 'database connection' locking
: mechanism so that the second request doesn't try to use the same
: connection as the first one is using?

	No need.  See above about each child server having its own
	copy/connection already.  A child (under most web servers) will
	never be handling more then one request at a time.

: Do I in general open a number of database connections on startup and
: keep them waiting for clients?

	No.  Under Apache::DBI the first DBI->connect() that happens in a
	script will cause the open.  Latter connect() requests will see
	the cached copy and try to ping() it, returning the cached copy if
	it is alive or reconnecting if it's dead/timed out.

: Any advice/sample code is appreciated.

	perldoc Apache::DBI

-- 
-Zenin (zenin@archive.rhps.org)           From The Blue Camel we learn:
BSD:  A psychoactive drug, popular in the 80s, probably developed at UC
Berkeley or thereabouts.  Similar in many ways to the prescription-only
medication called "System V", but infinitely more useful. (Or, at least,
more fun.)  The full chemical name is "Berkeley Standard Distribution".


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

Date: Mon, 04 Jan 1999 10:10:05 -0600
From: tfo@telalink.net (Thomas Frederick O'Connell)
Subject: mode permissions in perl
Message-Id: <tfo-0401991010050001@jesus.telalink.net>

has anyone else using perl on UNIX/Linux ever noticed inconsistencies with
perl's builtins and their abilities to set permissions? for some reason, i
occasionally run into problems where an automated script that i know to be
running as root will not correctly execute a statement such as

   chmod( 0664, $somefile ) ||
      warn( "unable to change permissions mode of $somefile to 0664." );

it simply does not change the permissions and also fails to generate a
warning. and yet in dozens of smaller test scripts that i run from the
command line (with my own uid), chmod works just fine.

i also frequently have problems with using mkpath to create a directory
structure with mode specified as the final argument. 

could these inconsistencies be a result of some feature/bug of the
installation at my site, or is there a problem with the way i am calling
these functions?

i hate to resort to system() when there is a set of builtins available.

-freddie


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

Date: Mon, 04 Jan 1999 15:08:41 -0600
From: John Warner <jwarner@tivoli.com>
Subject: Re: Need help on Perl script
Message-Id: <36912DD9.786F46CD@tivoli.com>

There are three things to keep in mind:

1.  Your ISP is probably using a Unix server.  This means that you need to use
an editor on your PC that will allow you to save documents in Unix format.  (The
technical nitty gritty is that Unix uses a line feed character to represent the
end of a line while Windows/DOS use the combination of a carriage return and
line feed characters.  The Unix machine is likely to have a problem with the
extra characters at the ends of lines.)

2.  Once uploaded, you will probably have to change the file permissions on your
script.  Most FTP servers are set up to disallow any file to be uploaded as
executable.  This prevents the spread of viruses.  Make sure the permissions on
your script are set to 755 (type man chmod at your Unix command line).

3.  The command line is where you type your commands.  In DOS, it looks
something like c:\> while in Unix it will be different (probably a $).

Greatly Distributed wrote:

> I am currently working on an index search engine. I inputed all the source
> code in Notepad and saved the script in *.pl format. After I uploaded the
> script to my ISP server by using WS_FTP in ASCII mode, I logged on to the
> shell account through Telnet. I went to the cgi-bin folder that contained
> the Perl script. I used "perl -c indexsite.pl" to check the script syntax
> and the server responded as the following, "Compilation error." Could anyone
> clarfiy what is "command line" means? Is it the prompt line that appeared
> after I log on the shell account?
>
> If anyone knows the solution to my problem, please respond to this thread.
> Thank you!



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

Date: 4 Jan 1999 23:31:58 GMT
From: groovy94@aol.com (Groovy94)
Subject: Re: Need help on Perl script
Message-Id: <19990104183158.05093.00007782@ng94.aol.com>

If I'm not mistaken, I think that uploading in Ascii format strips all carriage
returns created by the editor he/she used, etc. I don't think that's the
problem, however, I would stress against using something like Notepad. I
suggest you try the demo version of Perl Builder, available by Solution Soft at
http://www.solutionsoft.com


Regards,
Gil Hildebrand, Jr.
Dynamic Scripts

Email: groovy94@aol.com
ICQ UIN: 16678754


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

Date: 4 Jan 1999 19:48:25 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: Need to output a file starting at a specified line
Message-Id: <76r5u9$7ol$1@marina.cinenet.net>

colemac@sce.com wrote:
: I am relatively new to perl.  I have a need to read in a file, present it
: with line numbers to a user, allow a line number selection and based on that
: criteria, output the file beginning with that selected line number to the end
: of file.  I can read in the file alright, but selecting the line number based
: on user input and outputing till the EOF is evading me.  Any clues? Thanx,

With inadequate input error checking:

#!/usr/bin/perl -w
# toend: Take argument input and output files, display input file with
# line numbers, prompt for and accept line number from user, then send
# that line number to EOF to the output file.
# Craig Berry (19990104)

use strict;

die "Useage: $0 infile outfile\n" unless @ARGV == 2;

my $infile  = shift;
my $outfile = shift;

open IN,  "< $infile"  or die "Cannot open $infile for reading: $!\n";
open OUT, "> $outfile" or die "Cannot open $outfile for writing: $!\n";

my @lines = <IN>;
close IN;

for (my $line = 0; $line < @lines; $line++) {
  printf "%3d: $lines[$line]", $line + 1;
}

print 'Select line number: ';
my $choice = <>;

for (my $line = $choice - 1; $line < @lines; $line++) {
  print OUT $lines[$line];
}

close OUT;


-- 
   |   Craig Berry - cberry@cinenet.net
 --*--    Home Page: http://www.cinenet.net/users/cberry/home.html
   |      "The hills were burning, and the wind was raging; and the
       clock struck midnight in the Garden of Allah."


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

Date: 4 Jan 1999 16:01:33 GMT
From: Greg Bacon <gbacon@cs.uah.edu>
Subject: New posters to comp.lang.perl.misc
Message-Id: <76qokt$oi0$2@info.uah.edu>

Following is a summary of articles from new posters spanning a 7 day
period, beginning at 28 Dec 1998 15:59:29 GMT and ending at
04 Jan 1999 07:57:25 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) 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.

Totals
======

Posters:  168 (46.7% of all posters)
Articles: 266 (28.4% of all articles)
Volume generated: 508.4 kb (31.7% of total volume)
    - headers:    184.4 kb (3,885 lines)
    - bodies:     318.3 kb (9,267 lines)
    - original:   259.4 kb (7,647 lines)
    - signatures: 5.4 kb (108 lines)

Original Content Rating: 0.815

Averages
========

Posts per poster: 1.6
    median: 1.0 post
    mode:   1 post - 112 posters
    s:      1.3 posts
Message size: 1957.1 bytes
    - header:     710.0 bytes (14.6 lines)
    - body:       1225.4 bytes (34.8 lines)
    - original:   998.5 bytes (28.7 lines)
    - signature:  20.7 bytes (0.4 lines)

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

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

    8    18.0 (  6.0/  9.6/  6.4)  Uri Guttman <uri@home.sysarch.com>
    8    16.0 (  5.4/ 10.6/  8.6)  "Charles R. Thompson" <design@raincloud-studios.com>
    7     7.4 (  4.6/  2.8/  2.2)  "Ronnie D. Jewell" <jewell@OnlineRAGE.com>
    6    10.6 (  3.8/  6.8/  5.2)  "Samuel Kilchenmann" <skilchen@swissonline.ch>
    6     8.5 (  5.1/  3.3/  1.7)  "walter" <tavi@earthling.net>
    4     5.9 (  3.3/  2.6/  1.8)  "Webmaster" <shadow01@shaw.wave.ca>
    4     8.4 (  2.4/  5.9/  5.9)  "Ilari Silvola" <silvolat@dlc.fi>
    4     5.0 (  2.8/  2.2/  2.2)  Penn Markham <pmarkham@access.k12.wv.us>
    4     5.3 (  2.8/  2.3/  0.8)  prjohnsonat@utahlinxdot.com (TheLaser)
    3     3.3 (  1.6/  1.8/  1.8)  umdvikram@aol.com (UMD Vikram)

These posters accounted for 5.8% of all articles.

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

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

  83.7 (  1.5/ 82.2/ 71.2)      3  "Rick Spangenberg" <infotech@discovernet.net>
  25.6 (  1.1/ 24.2/ 22.7)      2  mig@pwave.com (Miguel Fernandez)
  18.0 (  6.0/  9.6/  6.4)      8  Uri Guttman <uri@home.sysarch.com>
  16.0 (  5.4/ 10.6/  8.6)      8  "Charles R. Thompson" <design@raincloud-studios.com>
  10.6 (  3.8/  6.8/  5.2)      6  "Samuel Kilchenmann" <skilchen@swissonline.ch>
   8.5 (  5.1/  3.3/  1.7)      6  "walter" <tavi@earthling.net>
   8.4 (  2.4/  5.9/  5.9)      4  "Ilari Silvola" <silvolat@dlc.fi>
   7.8 (  2.5/  5.3/  2.9)      3  john_warner@tivoli.com
   7.4 (  4.6/  2.8/  2.2)      7  "Ronnie D. Jewell" <jewell@OnlineRAGE.com>
   6.2 (  1.5/  4.7/  3.6)      2  schwern@pobox.com (Michael G Schwern)

These posters accounted for 12.0% of the total volume.

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

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

1.000  (  5.9 /  5.9)      4  "Ilari Silvola" <silvolat@dlc.fi>
1.000  (  2.2 /  2.2)      4  Penn Markham <pmarkham@access.k12.wv.us>
1.000  (  1.8 /  1.8)      3  umdvikram@aol.com (UMD Vikram)
0.984  (  3.5 /  3.6)      3  slick@dick.com (Slick!)
0.894  (  1.0 /  1.1)      3  Staffan Liljas <nospam_staffan@ngb.se>
0.866  ( 71.2 / 82.2)      3  "Rick Spangenberg" <infotech@discovernet.net>
0.822  (  1.0 /  1.2)      3  Damoi <damoi985@hotmail.com>
0.810  (  8.6 / 10.6)      8  "Charles R. Thompson" <design@raincloud-studios.com>
0.803  (  2.2 /  2.8)      7  "Ronnie D. Jewell" <jewell@OnlineRAGE.com>
0.765  (  5.2 /  6.8)      6  "Samuel Kilchenmann" <skilchen@swissonline.ch>

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

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

0.803  (  2.2 /  2.8)      7  "Ronnie D. Jewell" <jewell@OnlineRAGE.com>
0.765  (  5.2 /  6.8)      6  "Samuel Kilchenmann" <skilchen@swissonline.ch>
0.700  (  1.8 /  2.6)      4  "Webmaster" <shadow01@shaw.wave.ca>
0.665  (  6.4 /  9.6)      8  Uri Guttman <uri@home.sysarch.com>
0.648  (  0.7 /  1.0)      3  spawn90@my-dejanews.com (Spawn)
0.542  (  2.9 /  5.3)      3  john_warner@tivoli.com
0.501  (  1.7 /  3.3)      6  "walter" <tavi@earthling.net>
0.474  (  1.4 /  3.0)      3  jfreedman@securitydynamics.com
0.399  (  1.3 /  3.3)      3  Chuck <galahadthedestroyer@earthlink.net>
0.338  (  0.8 /  2.3)      4  prjohnsonat@utahlinxdot.com (TheLaser)

18 posters (10%) had at least three posts.


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

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

       4  Samuel Hogarth <samuel@lansup.demon.co.uk>
       2  "Neal" <neal413@javanetspam.com>
       2  bhuston@matrix.eden.com (Bill Huston)
       2  mmcmanus@frontiernet.net
       2  Simon Smith <simon_smith@lineone.net>
       2  "John Talbert" <johntalbert*@home.com>
       1  Peter Potter <nobody@asdfasdf.org>
       1  amigolatino@my-dejanews.com
       1  tye@metronet.com (Tye McQueen)
       1  big.jim@no.spam.here.thanks.com (Big Jim)


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

Date: Mon, 04 Jan 1999 16:38:08 GMT
From: cpierce1@mail.ford.com (Clinton Pierce)
Subject: Re: New to perl
Message-Id: <3693edca.2418248032@news.ford.com>

On 01 Jan 1999 13:51:53 -0500, Uri Guttman <uri@home.sysarch.com> wrote:

>>>>>> "DG" == Daniel Grisinger <dgris@moiraine.dimensional.com> writes:
>
>  DG> dbeallie@cyberus.ca writes:
>  >> What are the top 10 (or more) features of perl? 
>
>  DG> Regular expressions
>  DG> Portability
>  DG> Regular expressions
>  DG> Rapid development
>  DG> Regular expressions
>  DG> CPAN
>  DG> Regular expressions
>  DG> Excellent documentation
>  DG> Regular expressions
>  DG> Open source
>  DG> Regular expressions
>  DG> TMTOWTDI
>  DG> Regular expressions
>
>  DG> dgris
>  DG> - did i mention regular expressions? :-)
>
>you forgot regular expressions.
>
>and this friendly and loving newsgroup.

Do you read the same c.l.p.m as the rest of us?  Or do magic faries
sprinkle Happy Dust on your newfeed's version of c.l.p.m?  :-)


-- 
"If you rush a Miracle Man, you get rotten miracles"
                     --Miracle Max, The Princess Bride
DNRC: "Grand Inquisitor of Out At 5 Doctrine"  06/96


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

Date: 04 Jan 1999 13:21:55 -0500
From: Uri Guttman <uri@home.sysarch.com>
Subject: Re: New to perl
Message-Id: <x7empaew58.fsf@home.sysarch.com>

>>>>> "CP" == Clinton Pierce <cpierce1@mail.ford.com> writes:

  CP> On 01 Jan 1999 13:51:53 -0500, Uri Guttman <uri@home.sysarch.com> wrote:
  >>>>>>> "DG" == Daniel Grisinger <dgris@moiraine.dimensional.com> writes:
  >> 
  DG> dbeallie@cyberus.ca writes:
  >> >> What are the top 10 (or more) features of perl? 
  >> 
  >> and this friendly and loving newsgroup.

  CP> Do you read the same c.l.p.m as the rest of us?  Or do magic faries
  CP> sprinkle Happy Dust on your newfeed's version of c.l.p.m?  :-)

i am very happy in our community here. i have my friends, enemies (or
dislikers) and my hordes of syncophantic worshippers. i have been
(sometimes deservedly) flamed, chastised, corrected, cursed, plonked,
bounced by by many. but on the other side i have been praised, thanked
profusely, been mentioned in a positive light around the net (not always
easy today), made many friends (some who i have met at tpc in pm :-),
and have enjoyed the feeling of helping someone solve a problem in perl
space.

that ain't too different from many blood-related families!

so although i had more than a dram of sarcasm in my "friendly and
loving" comment, it has a heart of truth too. the core of this group is
very caring if somewhat overly sensitive at times to various
stimuli. but any group of smart people gets that way. and it is on the
net which tends to alter emotional content in unknowable ways. i get
very different takes on the people who i have met f2f than i do on the
ones i haven't.

so my line covers both grounds which is as it should.

uri

-- 
Uri Guttman  -----------------  SYStems ARCHitecture and Software Engineering
Perl Hacker for Hire  ----------------------  Perl, Internet, UNIX Consulting
uri@sysarch.com  ------------------------------------  http://www.sysarch.com
The Best Search Engine on the Net -------------  http://www.northernlight.com


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

Date: 4 Jan 1999 22:37:21 GMT
From: Burt Adsit <burt.adsit@gte.net>
Subject: Re: New to perl
Message-Id: <76rfr1$rq8$0@208.154.0.208>

CPAN! It ain't the language it's the code.

dbeallie@cyberus.ca wrote:
> 
> What are the top 10 (or more) features of perl?

-- 
Burt Adsit
Earthenware
http://www.featurefarm.com
lat n43.10' lon w86.2'

The Open Directory Project's Science/Astronomy/Amateur
http://directory.mozilla.org/Science/Astronomy/Amateur
WooHoo!


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

Date: Mon, 04 Jan 1999 17:54:05 -0500
From: EVILjosh <engineer@noorg.org>
Subject: Re: noop
Message-Id: <3691468D.BC71B0FA@noorg.org>

> {;}

Thanks folks. I just needed a temp placeholder for some
codes in a block that didn't yet exist.

Yours,

Josh...
_/_/_/ _/  _/ _/ _/
_/_/   _/ _/  _/ _/
_/_/_/ _/     _/ _/_/


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

Date: Mon, 4 Jan 1999 17:16:11 GMT
From: aml@world.std.com (Andrew M. Langmead)
Subject: Re: Obtaining filename In 'require' file
Message-Id: <F51pAz.Gtx@world.std.com>

unxgroup@liii.com writes:

>Within a "require" file I need to obtain the name of the "require" file
>without hardcoding it.  Is there a variable that contains this info?

Its a bit burried in the perldata man page, but the special token
__FILE__ will give the current files name. It needs to be used as a
separate token, it won't interpolate into strings.

warn join('', 'Somethings weird in ', __FILE__, "\n") unless $something;

-- 
Andrew Langmead


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

Date: Mon, 4 Jan 1999 09:29:49 -0600
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Official Perl Movie
Message-Id: <dpmq67.q2t.ln@magna.metronet.com>

beable@my-dejanews.com wrote:
: In article <s83o67.qml.ln@magna.metronet.com>,
:   tadmc@metronet.com (Tad McClellan) wrote:
: > beable@my-dejanews.com wrote:
: >
: > : REMEMBER TO WATER YOUR CAMEL AT
: > : LEAST EVERY THREE WEEKS OR IT WILL DIE!!!
: >
: >    The -w switch will warn you of this common mistake.
: >
: >    You should use the -w switch on *all* of your perl programs.
: >

: I get it! -w means "water camel"!! So I'm guessing now,
: but does -f mean "feed camel"?


   Being a veteran, my first association with the letter 'f'
   is somewhat less appealing than your's ...


--
    Tad McClellan                          SGML Consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


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

Date: 4 Jan 1999 18:58:20 GMT
From: Daniel Buettner <buettner@cse.unl.edu>
Subject: Re: Official Perl Movie
Message-Id: <76r30c$e7p$1@unlnews.unl.edu>

In alt.religion.kibology Tad McClellan <tadmc@metronet.com> wrote:
> beable@my-dejanews.com wrote:
> : In article <s83o67.qml.ln@magna.metronet.com>,
> :   tadmc@metronet.com (Tad McClellan) wrote:
> : > beable@my-dejanews.com wrote:
> : >
> : > : REMEMBER TO WATER YOUR CAMEL AT
> : > : LEAST EVERY THREE WEEKS OR IT WILL DIE!!!
> : >
> : >    The -w switch will warn you of this common mistake.
> : >
> : >    You should use the -w switch on *all* of your perl programs.
> : >

> : I get it! -w means "water camel"!! So I'm guessing now,
> : but does -f mean "feed camel"?

>    Being a veteran, my first association with the letter 'f'
>    is somewhat less appealing than your's ...
umm... a veteran of what, exactly?  Or is it better left unsaid?


-- 
~
~
~
"Daniel Buettner" line 4 of 4 --100%--


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

Date: Mon, 04 Jan 1999 18:31:13 +0100
From: Staffan Liljas <nospam_staffan@ngb.se>
Subject: Re: open new window?
Message-Id: <3690FAE1.3B0A2959@ngb.se>

> I want to create a form which accesses a perl script, and the results of the
> script are printed in a new browser window.  Any ideas on how to create a
> new browser window from within the script?

It is a) a question about JavaScript or b) a question about HTML...

However, this should work.
<FORM ACTION="myscript" TARGET="new_window_name">


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

Date: 4 Jan 1999 15:58:43 GMT
From: Aidan Rogers <aidan@salvador.blackstar.co.uk>
Subject: Package privacy problem
Message-Id: <76qofj$etu$1@nclient3-gui.server.ntli.net>

Hi there.

I think I'm having a problem with variables/objects staying within their
own namespace. I'm trying to add to someone elses code, so there may well
be holes in it, but I have never come across them before. Basically, I'm
calling an object constructor within one of another objects methods, and
it seems to be giving me screwy results.

I've gone through using the Perl debugger, and what seems to be happening
is this. Each object I create of any type is automatically treated as
being a child of class Foo. So I have Foo::Bar, Foo::Baz, etc. Now, within
Foo::Bar, I'm calling a new Foo::Baz. The constructor methods within
Foo::Bar and Foo::Baz are very similar, and use the variable name $self to
refer to the object being created (as per convention). Unfortunately what
seems to be happening is that within the new Foo::Baz method, $self instead
of being initialized, is being set with the value of $self in Foo::Bar.

The constructor looks something like this:

sub new {
  my $that = shift; 
  my $class = ref($that) || $that;
  my $self = bless $that->SUPER::new(@_), $class;
  return $self;
}

The SUPER here is the Foo class, so the object being constructed receives
some basic methods from Foo.

Anyone have any ideas about what could be causing this? I've spent hours
trying to figure it out, and would greatly appreciate help. If you need
more information just email me (remove the salvador. to reply to the above
address).

Thanks a million, and apologies for the length of this post.

Aidan


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

Date: 12 Dec 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 Dec 98)
Message-Id: <null>


Administrivia:

Well, after 6 months, here's the answer to the quiz: what do we do about
comp.lang.perl.moderated. Answer: nothing. 

]From: Russ Allbery <rra@stanford.edu>
]Date: 21 Sep 1998 19:53:43 -0700
]Subject: comp.lang.perl.moderated available via e-mail
]
]It is possible to subscribe to comp.lang.perl.moderated as a mailing list.
]To do so, send mail to majordomo@eyrie.org with "subscribe clpm" in the
]body.  Majordomo will then send you instructions on how to confirm your
]subscription.  This is provided as a general service for those people who
]cannot receive the newsgroup for whatever reason or who just prefer to
]receive messages via e-mail.

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

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