[15504] in Perl-Users-Digest
Perl-Users Digest, Issue: 2914 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon May 1 14:05:38 2000
Date: Mon, 1 May 2000 11:05:15 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <957204315-v9-i2914@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Mon, 1 May 2000 Volume: 9 Number: 2914
Today's topics:
Re: #How to parse and strip perl comments? <rootbeer@redcat.com>
a clue, a hint, a slap in the face would be nice glm2@my-deja.com
Re: a clue, a hint, a slap in the face would be nice <lauren_smith13@hotmail.com>
Banner rotation script <edwin@web-ontwerp.com>
Re: Banner rotation script <tfm@sei.cmu.edu>
Re: Banner rotation script <red_orc@my-deja.com>
Re: Banner rotation script (Clay Irving)
Re: Banner rotation script <uri@sysarch.com>
Re: Banner rotation script <uri@sysarch.com>
Basic Exporter question <skendric@fhcrc.org>
Re: Basic Exporter question (Randal L. Schwartz)
Re: Basic Exporter question (Stuart Kendrick)
Re: Basic Exporter question <tony_curtis32@yahoo.com>
convert to tab delimited file. <gary@dkstat.com>
Re: Create a file that Read/Write Properties are set to <tony_curtis32@yahoo.com>
Re: Documenting Cron <barmar@genuity.net>
Re: explain expression? <lr@hpl.hp.com>
How do I detect the presence of a network? <sg@loralskynet.com>
Re: How to execute Perl Bytecode ??? ftidev@fhb.clickcharge.com
Re: How to use the shared object compiled by perlcc? <rootbeer@redcat.com>
Re: looking for Parse::Yapp simple example <rootbeer@redcat.com>
New posters to comp.lang.perl.misc <gbacon@cs.uah.edu>
Re: overloading & 'constant' subroutines <b.keck@trl.telstra.com.au>
Re: overloading & 'constant' subroutines <rootbeer@redcat.com>
Re: overloading & 'constant' subroutines (Ilya Zakharevich)
Re: Perl msql prob.... (Bart Lateur)
Re: Perl msql prob.... <jeff@vpservices.com>
perl script to an exe? <kraziej@ta2.so-net.ne.jp>
Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Mon, 1 May 2000 10:36:23 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: #How to parse and strip perl comments?
Message-Id: <Pine.GSO.4.10.10005011023450.13677-100000@user2.teleport.com>
On Mon, 1 May 2000, Peter Hill wrote:
> Any clues, please, on how to parse a perl script for comments and
> remove them?
Use a good text editor, and keep the docs handy. :-)
Oh, you want a program to do it. That smells as if you want to obfuscate
your code. Have you seen the FAQ's answers on the subject of hiding your
source code? It's in section three.
But, as far as parsing perl is concerned, "Nothing can parse Perl but
perl." Perhaps you want to use one of the compiler backends, such as
B::Deparse. In the current version, you may have to tweak the resulting
code to get it to work.
Cheers!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Mon, 01 May 2000 16:06:08 GMT
From: glm2@my-deja.com
Subject: a clue, a hint, a slap in the face would be nice
Message-Id: <8eka0g$c3h$1@nnrp1.deja.com>
I have a two directories, one a backup of the other. Unfortunately some
files in the backup are not in the main directory.
There is no sort either by last updated or by name that can be used to
pull out the files.
I did a ls > tmp in each directory and then a diff tmp1 tmp2 > tmp_diff.
I'll like to write a script that pulls out the lines from tmp_diff but
have come to end of my scripting skills.
The thinking is
while (<>) {
foreach (@ARGV){ #take each line of @ARGV
print cp $_ new_dir/; # copy each file into new_dir
}
}
It's not working. Duh!!!! If it was I wouldn't be posting this message.
TIA
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Mon, 1 May 2000 10:41:42 -0700
From: "Lauren Smith" <lauren_smith13@hotmail.com>
Subject: Re: a clue, a hint, a slap in the face would be nice
Message-Id: <8ekfjp$88h$1@brokaw.wa.com>
<glm2@my-deja.com> wrote in message news:8eka0g$c3h$1@nnrp1.deja.com...
> I have a two directories, one a backup of the other. Unfortunately some
> files in the backup are not in the main directory.
>
> There is no sort either by last updated or by name that can be used to
> pull out the files.
>
> I did a ls > tmp in each directory and then a diff tmp1 tmp2 > tmp_diff.
>
> I'll like to write a script that pulls out the lines from tmp_diff but
> have come to end of my scripting skills.
>
> The thinking is
>
> while (<>) {
>
> foreach (@ARGV){ #take each line of @ARGV
>
> print cp $_ new_dir/; # copy each file into new_dir
>
> }
> }
I think you're looking for the File::Copy functionality.
perldoc File::Copy
Lauren
------------------------------
Date: Mon, 1 May 2000 15:07:10 +0200
From: "Edwin" <edwin@web-ontwerp.com>
Subject: Banner rotation script
Message-Id: <e7Jn042s$GA.180@net025s>
I am looking for a simple sript that rotates a banner every minute.
Looked at cgi-resources but didn't find anything like that (found tho a
banner system but that was not what I needed)
Anyone knows a place where to download such a script?
Thanks
Ed
------------------------------
Date: Mon, 01 May 2000 09:28:44 -0400
From: Ted Marz <tfm@sei.cmu.edu>
Subject: Re: Banner rotation script
Message-Id: <390D868C.4758F22C@sei.cmu.edu>
I don't know of one (haven't looked) but here is an idea for making one.
Start with Matt's script archive Random Image Displayer (SSI version)
and have the document include a <meta http-equiv="Refresh"
content="time_in_seconds"> tag to the header of the page.
I don't think that it will be either very efficient, nor very pretty (I
think the page may clear on each expiration), but it will do the job if
nothing else becomes available.
Ted
Edwin wrote:
>
> I am looking for a simple sript that rotates a banner every minute.
> Looked at cgi-resources but didn't find anything like that (found tho a
> banner system but that was not what I needed)
>
> Anyone knows a place where to download such a script?
>
> Thanks
> Ed
------------------------------
Date: Mon, 01 May 2000 13:54:58 GMT
From: Rodney Engdahl <red_orc@my-deja.com>
Subject: Re: Banner rotation script
Message-Id: <8ek2bc$3ds$1@nnrp1.deja.com>
In article <e7Jn042s$GA.180@net025s>,
"Edwin" <edwin@web-ontwerp.com> wrote:
> I am looking for a simple sript that rotates a banner every minute.
> Looked at cgi-resources but didn't find anything like that (found tho
a
> banner system but that was not what I needed)
>
> Anyone knows a place where to download such a script?
have you tried doing a search on the web? using
+perl +"banner script"
brings up a number of hits at excite.com
>
> Thanks
> Ed
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: 1 May 2000 14:32:23 GMT
From: clay@kozmik.skechers.com (Clay Irving)
Subject: Re: Banner rotation script
Message-Id: <8ek4hn$8dn$1@news.panix.com>
On Mon, 1 May 2000 15:07:10 +0200, Edwin <edwin@web-ontwerp.com> wrote:
>I am looking for a simple sript that rotates a banner every minute.
>Looked at cgi-resources but didn't find anything like that (found tho a
>banner system but that was not what I needed)
>
>Anyone knows a place where to download such a script?
-> Perl.com <www.perl.com>
-> Perl Reference <www.perl.com/reference>
-> Search for "banner"
--
Clay Irving
clay@panix.com
------------------------------
Date: Mon, 01 May 2000 14:49:28 GMT
From: Uri Guttman <uri@sysarch.com>
Subject: Re: Banner rotation script
Message-Id: <x7hfciz5op.fsf@home.sysarch.com>
>>>>> "TM" == Ted Marz <tfm@sei.cmu.edu> writes:
TM> I don't know of one (haven't looked) but here is an idea for
TM> making one. Start with Matt's script archive Random Image
TM> Displayer (SSI version) and have the document include a <meta
TM> http-equiv="Refresh" content="time_in_seconds"> tag to the header
TM> of the page.
if you lurk around here at all you will learn (and i am teaching you)
that recommending matt's crap is NOT a good thing to do. especially for
newbies who don't know how to fix the myriad of bugs in his code. but of
course the OP will see your post now and go there and get infected by
the matt virus. thank you for spreading that plague. you are now
offically labeled a matt carrier and must be vaccinated.
uri
--
Uri Guttman --------- uri@sysarch.com ---------- http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page ----------- http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net ---------- http://www.northernlight.com
------------------------------
Date: Mon, 01 May 2000 15:16:56 GMT
From: Uri Guttman <uri@sysarch.com>
Subject: Re: Banner rotation script
Message-Id: <x7d7n6z4ew.fsf@home.sysarch.com>
i had to post this email reply. it really illustrates something that
needs to be shown here.
>>>>> "TM" == Ted Marz <tfm@sei.cmu.edu> writes:
TM> Yes, Matt's stuff is a piece of shit, but it is a popular piece of
TM> shit. It gives you a place to start (in concepts) for something
TM> that at least partially works, and allows you to make it better.
TM> Given the basic state of this board, there is an awful lot of
TM> arrogance here, of which your mail is a wonderful example. I
TM> don't even know why I am bothering to mail you back, as I don't
TM> care in the slighest as to your opinions.
<my emailed reply>
and you have no shame in promoting what you call shit? that is worse
than arrogance, it is unprofessional and keeps those you purport to help
in the dark. nice going. and i don't care about your opinion of my
opinion. i care about matt's code not being promoted. so if i see matt
mentioned i denounce it like it should be.
uri
--
Uri Guttman --------- uri@sysarch.com ---------- http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page ----------- http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net ---------- http://www.northernlight.com
------------------------------
Date: Mon, 01 May 2000 09:49:47 -0700
From: Stuart Kendrick <skendric@fhcrc.org>
Subject: Basic Exporter question
Message-Id: <390DB5AB.FA8EA330@fhcrc.org>
I'm having trouble persuading Exporter to work. Here is sample code
which doesn't work ... but which, according to my read of perldoc
Exporter, should work. Specifically, I would like to think that the
variable "$frog" is available in the program "doit", via the implicit
"import" performed on execution of the "use test;" statement. But that
doesn't seem to happen. Insights?
uluc05{root}: cat doit
#!/opt/local/bin/perl
use test;
print "$frog\n";
uluc05{root}: cat test.pm
package test;
use strict;
require Exporter;
my @ISA = qw(Exporter);
my @EXPORT = qw($frog $toad $pond);
my $frog = "green";
my $toad = "brown";
my $pond = "blue";
return 1;
uluc05{root}: perl -w doit
Name "main::frog" used only once: possible typo at doit line 5.
Use of uninitialized value at doit line 5.
uluc05{root}:
--sk
Stuart Kendrick
FHCRC
------------------------------
Date: 01 May 2000 09:56:23 -0700
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: Basic Exporter question
Message-Id: <m1ln1ujjk8.fsf@halfdome.holdit.com>
>>>>> "Stuart" == Stuart Kendrick <skendric@fhcrc.org> writes:
Stuart> I'm having trouble persuading Exporter to work. Here is sample code
Stuart> which doesn't work ... but which, according to my read of perldoc
Stuart> Exporter, should work. Specifically, I would like to think that the
Stuart> variable "$frog" is available in the program "doit", via the implicit
Stuart> "import" performed on execution of the "use test;" statement. But that
Stuart> doesn't seem to happen. Insights?
Two problems off the bat:
1) lowercase package names are reserved for Pragmata. Try Test.pm instead
of test.pm.
2) (much more important) Exporter cannot export lexical ("my") variables,
only package variables. Your lexical variables will not work here.
$JA::PH = "Just another Perl hacker,"; *MSG = *JA::PH; print $MSG;
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
------------------------------
Date: 1 May 2000 17:08:30 GMT
From: skendric@fhcrc.org (Stuart Kendrick)
Subject: Re: Basic Exporter question
Message-Id: <8ekdme$l7g$1@pony.fhcrc.org>
Hi Randal,
OK, I've implemented the case issue and ripped out the "my" constructs.
Still no dice.
I appreciate your attention to date on what must be a truly basic issue
-- would you have any further insights?
--sk
uluc05{root}: cat doit
#!/opt/local/bin/perl
use Test;
print "$frog\n";
uluc05{root}: cat Test.pm
package Test;
use strict;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw($frog $toad $pond);
$frog = "green";
$toad = "brown";
$pond = "blue";
return 1;
uluc05{root}: perl -w doit
Name "main::frog" used only once: possible typo at doit line 3.
Use of uninitialized value at doit line 3.
uluc05{root}:
--sk
Stuart Kendrick
FHCRC
------------------------------
Date: 01 May 2000 12:26:42 -0500
From: Tony Curtis <tony_curtis32@yahoo.com>
Subject: Re: Basic Exporter question
Message-Id: <87og6qkwq5.fsf@shleppie.uh.edu>
>> On 1 May 2000 17:08:30 GMT,
>> skendric@fhcrc.org (Stuart Kendrick) said:
> Hi Randal, OK, I've implemented the case issue and
> ripped out the "my" constructs. Still no dice.
> I appreciate your attention to date on what must be a
> truly basic issue -- would you have any further
> insights?
> uluc05{root}: perl -w doit Name "main::frog" used only
> once: possible typo at doit line 3. Use of
> uninitialized value at doit line 3.
OK, I'm not Randal but here's a slightly simpler
illustration:
-- Foo.pm --
package Foo;
use strict;
use Exporter;
use vars qw(@EXPORT_OK @ISA $colour);
@ISA = qw(Exporter);
@EXPORT_OK = qw($colour);
$colour = 'octarine';
1;
-- end --
-- test.pl --
use Foo qw($colour);
print "$colour\n";
-- end --
Note that I've used EXPORT_OK as recommended in "perldoc
Exporter".
hth
t
------------------------------
Date: Mon, 01 May 2000 10:38:47 -0700
From: Gary Artim <gary@dkstat.com>
Subject: convert to tab delimited file.
Message-Id: <390DC127.345CB831@dkstat.com>
I'm writing some html/cgi/perl code and wonder if anyone has found a
filter program that converts native EXCEL files to tab delimited text
files. Any info would be greatly appreciated. I do know that EXCEL
provides this save option, I'm just looking for a software tool to do
this.
Thanks,
Gary (gary@dkstat.com)
------------------------------
Date: 01 May 2000 08:16:41 -0500
From: Tony Curtis <tony_curtis32@yahoo.com>
Subject: Re: Create a file that Read/Write Properties are set to yes
Message-Id: <87vh0yl8au.fsf@shleppie.uh.edu>
>> On Mon, 01 May 2000 00:03:56 -0400,
>> Drew Simonis <care227@attglobal.net> said:
> Leroux wrote:
>> open(OUTPUT_FILE, ">>/disk1/f/public_html//$flemail")
>> or die("Unable to open Guestbook data file
>> /disk1/f/public_html//$flemail");
> Might $! contain some interesting information?
And also, since this is clearly a CGI question travelling
incognito, see
http://www.boutell.com/openfaq/cgi/
(Question ID:8)
hth
t
------------------------------
Date: Mon, 01 May 2000 16:23:41 GMT
From: Barry Margolin <barmar@genuity.net>
Subject: Re: Documenting Cron
Message-Id: <hciP4.41$_B6.788@burlma1-snr2>
In article <htp-A5E1D9.11364801052000@news.metropolis.net.au>,
Henry <htp@mac.com> wrote:
>In article <LB3P4.543$Go2.9723@news.uswest.net>, "Doug Thomas"
><dougtho@geocities.com> wrote:
>
>> Does anyone have a program/script to document the crontab listing?
>
>[linux]$ man 5 crontab
Huh? He's looking for a tool that will translate the crontab into
something more user-friendly. The crontab command just spits it out in its
raw form.
--
Barry Margolin, barmar@genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
------------------------------
Date: Mon, 1 May 2000 08:27:56 -0700
From: Larry Rosler <lr@hpl.hp.com>
Subject: Re: explain expression?
Message-Id: <MPG.13774253435a756398a9bd@nntp.hpl.hp.com>
In article <k8pqgsosu0mah4le39j77o8echq23it3c6@4ax.com> on Mon, 01 May
2000 11:16:33 GMT, P-E Rath Holm <info@dk-web.com> says...
> Will someone try to explain this line for me:
>
> push(@n_a_dates,$hits[($#db_cols+1) * $counter+2])
>
> its the part [($#db_cols+1) * $counter+2] , that I am trying to
> understand.
>
> I know that $#db_cols gives the index value ofthe last element of
> @db_cols, but the asterisk is not a multiplication?
>
> $counter is just incremented one for each run.
>
> The line puts the value of database column 2 into @n_a_dates
> but I would really like to understand what is happening :-)
I'm not sure I understand fully what your symptoms are. But in all
likelihood the lack of whitespace around the '+' operators is misleading
you as to the actual parsing of the expression.
Because the precedence of '*' is higher than that of '+' (just as in
ordinary arithmetic), the subscript is being parsed as:
[(($#db_cols + 1) * $counter) + 2]
when what you want is probably this:
[($#db_cols + 1) * ($counter + 2)]
So put in the parentheses as shown, and try again. And don't be misled
by whitespace in the future. :-)
--
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Mon, 01 May 2000 12:56:38 -0400
From: Stephan Gross <sg@loralskynet.com>
Subject: How do I detect the presence of a network?
Message-Id: <hjdrgs0o3d36k31q3dg6jl2bmcb962555f@4ax.com>
I have an application that gets data from a database. The application
will be distributed with the database. However, the most recent copy
of the database is on the LAN.
What I would like to do is have the Perl program check for
connectivity to the LAN when it starts up. If the LAN/database is
there, it will be used as a data source. If not, the accompanying
local database will be used.
Any suggestions?
TIA.
------------------------------
Date: Mon, 01 May 2000 16:36:03 GMT
From: ftidev@fhb.clickcharge.com
Subject: Re: How to execute Perl Bytecode ???
Message-Id: <8ekbpi$e3b$1@nnrp1.deja.com>
The relevant documentation is perldoc perlcompile in version 5.6.0
The important thing to answer your question is that the Bytecode
back-end has the following status (according to the documentation)
"some things work, some things don't, some things are untested".
"byteperl"'s appearance in the documentation appears to me to be an
error, an holdover from discontinued developement. The new model is
Bytecode/Byteloader.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Mon, 1 May 2000 10:12:36 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: How to use the shared object compiled by perlcc?
Message-Id: <Pine.GSO.4.10.10005011008080.13677-100000@user2.teleport.com>
On Sun, 30 Apr 2000, Li, Yi-Shin wrote:
> I could compile the A.pm into A.so, but I can't use it with the
> command "use A". Is it the problem of me or perlcc ?
Could be both. :-)
> Step1: perlcc A.pm ==> successly create A.so
> Step2: mv A.pm B.pm
Why? Just to make Step3 fail? :-)
> Step3: perl test.pl ==> error, message:
>
> Can't locate A.pm in @INC (@INC contains:
I think that, in order to use the .so file, you'll need a modified A.pm
file, set up to use the DynaLoader's bootstrap function, probably. But I
could be -way- off; I've never done this myself.
Of course, you know that compiling your module like this won't make it any
more speedy, secure, maintainable, or cool. :-)
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Mon, 1 May 2000 09:59:29 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: looking for Parse::Yapp simple example
Message-Id: <Pine.GSO.4.10.10005010958190.13677-100000@user2.teleport.com>
On Sun, 30 Apr 2000, Tim Richardson wrote:
> I want to use Parse::Yapp to process a BAI bank statement. The grammar
> is simple, but I've never used Bison or Yapp. Writing the grammar
> doesn't look too hard, but I don't understand how I put everything
> together. For instance, what does a lexer look like? I'm wondering if
> anyone has a simple, complete example of a Perl script that parses
> something simple using Parse::Yapp.
Well, unfortunately, I don't have such an example. But if and when you
find one, be sure to pass it on to the maintainer of that module, so that
it can be included with the docs in a future version. Thanks!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Mon, 01 May 2000 14:38:59 GMT
From: Greg Bacon <gbacon@cs.uah.edu>
Subject: New posters to comp.lang.perl.misc
Message-Id: <sgr5o34moog73@corp.supernews.com>
Following is a summary of articles from new posters spanning a 7 day
period, beginning at 24 Apr 2000 15:40:26 GMT and ending at
01 May 2000 14:54:58 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) 1999 Greg Bacon.
Verbatim copying and redistribution is permitted without royalty;
alteration is not permitted. Redistribution and/or use for any
commercial purpose is prohibited.
Totals
======
Posters: 203 (44.3% of all posters)
Articles: 319 (21.1% of all articles)
Volume generated: 575.4 kb (21.0% of total volume)
- headers: 269.1 kb (4,995 lines)
- bodies: 300.8 kb (10,345 lines)
- original: 218.9 kb (7,705 lines)
- signatures: 5.2 kb (106 lines)
Original Content Rating: 0.728
Averages
========
Posts per poster: 1.6
median: 1 post
mode: 1 post - 141 posters
s: 1.5 posts
Message size: 1847.0 bytes
- header: 863.7 bytes (15.7 lines)
- body: 965.6 bytes (32.4 lines)
- original: 702.8 bytes (24.2 lines)
- signature: 16.7 bytes (0.3 lines)
Top 10 Posters by Number of Posts
=================================
(kb) (kb) (kb) (kb)
Posts Volume ( hdr/ body/ orig) Address
----- -------------------------- -------
14 26.3 ( 12.1/ 14.2/ 8.4) exhacker@my-deja.com
8 14.8 ( 6.7/ 8.1/ 2.5) "Brian Smith" <mrsparkle@gamerzuniverse.com>
5 8.7 ( 3.5/ 5.2/ 2.8) Frederic Aussedat <Frederic.Aussedat@Alcatel.fr>
5 8.1 ( 4.9/ 3.3/ 1.3) sid@eurekanet.com
5 6.9 ( 5.8/ 1.1/ 0.9) "Akihabara" <akihabara@denno.gumi.com>
5 8.5 ( 4.8/ 3.7/ 2.1) "Charles Henry" <charles.henry@engineer2k.com>
4 7.0 ( 3.2/ 3.8/ 2.3) gene <gene01@smalltime.com>
4 6.0 ( 3.0/ 2.0/ 1.0) msoulier@storm.ca
4 17.2 ( 4.3/ 12.9/ 11.9) Denis Haskin <dwhaskin@earthlink.net>
4 7.3 ( 3.2/ 4.1/ 2.3) "StreetDreams" <caraudio@streetdreams.com>
These posters accounted for 3.8% of all articles.
Top 10 Posters by Volume
========================
(kb) (kb) (kb) (kb)
Volume ( hdr/ body/ orig) Posts Address
-------------------------- ----- -------
26.3 ( 12.1/ 14.2/ 8.4) 14 exhacker@my-deja.com
22.0 ( 0.8/ 21.1/ 21.0) 1 Dave Cornejo <dave@dogwood.com>
17.2 ( 4.3/ 12.9/ 11.9) 4 Denis Haskin <dwhaskin@earthlink.net>
14.8 ( 6.7/ 8.1/ 2.5) 8 "Brian Smith" <mrsparkle@gamerzuniverse.com>
12.6 ( 3.6/ 9.0/ 4.5) 4 amarodeeps@my-deja.com
10.4 ( 2.6/ 7.8/ 3.8) 3 jbellack@my-deja.com
8.7 ( 3.5/ 5.2/ 2.8) 5 Frederic Aussedat <Frederic.Aussedat@Alcatel.fr>
8.5 ( 4.8/ 3.7/ 2.1) 5 "Charles Henry" <charles.henry@engineer2k.com>
8.1 ( 4.9/ 3.3/ 1.3) 5 sid@eurekanet.com
7.3 ( 3.2/ 4.1/ 2.3) 4 "StreetDreams" <caraudio@streetdreams.com>
These posters accounted for 5.0% of the total volume.
Top 10 Posters by OCR (minimum of three posts)
==============================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
1.000 ( 1.2 / 1.2) 4 "Steven Ulbrich" <sjutmp@msn.com>
1.000 ( 0.3 / 0.3) 3 "netnews" <ya_hsiung@ms2.url.com.tw>
0.987 ( 1.9 / 1.9) 3 pt <paul_m_thompson@my-deja.com>
0.921 ( 11.9 / 12.9) 4 Denis Haskin <dwhaskin@earthlink.net>
0.852 ( 0.9 / 1.1) 5 "Akihabara" <akihabara@denno.gumi.com>
0.785 ( 2.6 / 3.3) 3 Ilmari Karonen <usenet11075@itz.pp.sci.fi>
0.764 ( 1.1 / 1.5) 3 "--- CGI Forum ---" <green_buck@yahoo.com>
0.639 ( 1.8 / 2.8) 3 Peter <peter_gonnissenNOpeSPAM@euroseek.com.invalid>
0.606 ( 2.3 / 3.8) 4 gene <gene01@smalltime.com>
0.595 ( 8.4 / 14.2) 14 exhacker@my-deja.com
Bottom 10 Posters by OCR (minimum of three posts)
=================================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
0.532 ( 2.8 / 5.2) 5 Frederic Aussedat <Frederic.Aussedat@Alcatel.fr>
0.519 ( 1.0 / 2.0) 4 msoulier@storm.ca
0.515 ( 0.9 / 1.8) 3 "Chris Williams" <aahz@gol.com>
0.500 ( 4.5 / 9.0) 4 amarodeeps@my-deja.com
0.483 ( 3.8 / 7.8) 3 jbellack@my-deja.com
0.429 ( 1.1 / 2.4) 3 "Ira Weiner" <idontlikespam_jcman@worldnet.att.net>
0.401 ( 1.3 / 3.3) 5 sid@eurekanet.com
0.357 ( 1.5 / 4.1) 4 swaroop_g@my-deja.com
0.334 ( 0.9 / 2.6) 3 "Gordon Sadler" <gbsadler1@sprynet.com>
0.309 ( 2.5 / 8.1) 8 "Brian Smith" <mrsparkle@gamerzuniverse.com>
23 posters (11%) had at least three posts.
Top 10 Targets for Crossposts
=============================
Articles Newsgroup
-------- ---------
47 comp.lang.perl.modules
17 alt.perl
11 comp.lang.perl.moderated
10 de.comp.lang.perl.cgi
9 comp.lang.perl
3 comp.answers
3 alt.www.webmaster
3 news.answers
2 comp.unix.solaris
2 comp.lang.perl.announce
Top 10 Crossposters
===================
Articles Address
-------- -------
5 Dave Cornejo <dave@dogwood.com>
4 johnpc@xs4all.nl
2 Scott Pyatt <spyatt@selectica.com>
2 "George Titan" <gti@mobilix.dk>
2 john.feiner@gmx.at
2 "Adam T Walton" <waltonic@earbuzz.demon.co.uk>
2 "I.Caragea" <Iancu@aol.com>
1 Digiwyrm <digiwyrm@linuxnet.net>
1 Ilmari Karonen <usenet11072@itz.pp.sci.fi>
1 PSG <admin2@palo2.pacific.net.in>
------------------------------
Date: 1 May 2000 14:16:58 GMT
From: Brian Keck <b.keck@trl.telstra.com.au>
Subject: Re: overloading & 'constant' subroutines
Message-Id: <8ek3kq$h6p$1@news.cdn.telstra.com.au>
On 29 Apr 2000 15:49:37 GMT, M.J.T. Guy wrote:
>...
>> x * x
>...
>By prototyping subroutine x to have no arguments. Which of course
>"use constant" does for you automatically.
>THough I do question the wisdom of defining a subroutine with the same
>name as a Perl operator.
When I started this thread I actually wanted to use h & c (not x) as
exportable subroutines (without qualification in expressions), & the
prototyping fixed that.
Now I find I'd like to use s & m in the same way, but I can't get perl
to swallow that.
Would you know a way to do it, if I don't blame you for the consequences?
Brian Keck
------------------------------
Date: Mon, 1 May 2000 10:43:56 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: overloading & 'constant' subroutines
Message-Id: <Pine.GSO.4.10.10005011041180.13677-100000@user2.teleport.com>
On 1 May 2000, Brian Keck wrote:
> When I started this thread I actually wanted to use h & c (not x) as
> exportable subroutines (without qualification in expressions), & the
> prototyping fixed that.
>
> Now I find I'd like to use s & m in the same way, but I can't get perl
> to swallow that.
s, m, and y are built-in operators. If you _could_ convince perl to use
functions with those names, and I don't think you can, you'd soon deeply
regret the loss of s/// and m//.
Still, a future version of Perl could allow you to rename s/// and m//,
much like y/// has the "other name" of tr///....
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: 1 May 2000 17:52:23 GMT
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Subject: Re: overloading & 'constant' subroutines
Message-Id: <8ekg8n$hlq$1@charm.magnus.acs.ohio-state.edu>
[A complimentary Cc of this posting was sent to Brian Keck
<b.keck@trl.telstra.com.au>],
who wrote in article <8ek3kq$h6p$1@news.cdn.telstra.com.au>:
> Now I find I'd like to use s & m in the same way, but I can't get perl
> to swallow that.
A lot of Perl keywords are not overridable. [CPerl shows overridable
and non-overridable keywords in different colors.]
Ilya
------------------------------
Date: Mon, 01 May 2000 14:50:05 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: Perl msql prob....
Message-Id: <390f9955.681674@news.skynet.be>
Matt Smith wrote:
>Just finished installing latest version of mSQL perl module
>(Msql-Mysql-modules-1.2213).
I can't help you with your problem, but I still feel the urge to remark
you that mSQL IS NOT THE SAME as MySQL. Those are similar but unrelated
products.
--
Bart.
------------------------------
Date: Mon, 01 May 2000 08:15:55 -0700
From: Jeff Zucker <jeff@vpservices.com>
Subject: Re: Perl msql prob....
Message-Id: <390D9FAB.880DD0D3@vpservices.com>
Bart Lateur wrote:
>
> Matt Smith wrote:
>
> >Just finished installing latest version of mSQL perl module
> >(Msql-Mysql-modules-1.2213).
>
> I can't help you with your problem,
Me either :-(.
> but I still feel the urge to remark
> you that mSQL IS NOT THE SAME as MySQL. Those are similar but unrelated
> products.
True, but the DBD modules to handle the two of them come bundled
together. The OP seems to consistently refer to mSQL so that is
apparently what he wants.
--
Jeff
------------------------------
Date: Tue, 02 May 2000 00:28:32 +0900
From: kraziej <kraziej@ta2.so-net.ne.jp>
Subject: perl script to an exe?
Message-Id: <390DA2A0.8000EDA7@ta2.so-net.ne.jp>
DATE: May 1st, 2000
FROM: James Thomas Perry kraziej@ta2.so-net.ne.jp
#---------#---------#---------#---------#---------#---------#---------#
Hi,
I'm sure this subject was covered before so I apologize.
I went through the FAQ's but am totally lost, and I'm also
new to perl and c, so that probably makes the situation
worse...
Can someone be polite enough to give me pointers or guides to create
an exe on win(9x) from a simple perl script?
say this:
#/usr/bin/perl
print "Hell, World.\n";
# yes, it's hell cause it aint wokin' yet :(
is the perl code, and all I want is to have an exe file
which, I assume will run by itself, without perl.exe.
If in LINUX, what should I need for cross compiling?
If in win95, what should I use for compilers?
Perl in my LINUX box is 5.00503.
Also, I think I have successfully built a cross compiler with
the mingw32 packages (no errors during the build, atleast).
Perl in my win95 is ActivePerl Build 519.
I have cygwinb20, devc++3.97 (from bloodshed), and the free
borland c++5.5 (and djgpp :).
VisiStud is too expensive...
Sorry if I may be asking too much at once.
Much Thanks in Advance,
jamie
ps
a CC e-mail of your response will be appreciated, since bandwidth
still costs an arm and a leg here in japan ;(
#---------#---------#---------#---------#---------#---------#---------#
"If someone could create a search engine for my room,
I will call them a Saint..." -- somebody grok on this yet?
------------------------------
Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 16 Sep 99)
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: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.
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 V9 Issue 2914
**************************************