[13587] in Perl-Users-Digest
Perl-Users Digest, Issue: 997 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Oct 6 02:05:38 1999
Date: Tue, 5 Oct 1999 23:05:21 -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: <939189920-v9-i997@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Tue, 5 Oct 1999 Volume: 9 Number: 997
Today's topics:
Re: array for network simulator <uri@sysarch.com>
Re: C style was Re: Random Numbers (Larry Rosler)
Re: Call CGI Perl whithout Forms (David Efflandt)
Re: CGI Date Datebase? <AgitatorsBand@yahoo.com>
CHOWN in PERL cybokk@my-deja.com
Re: CHOWN in PERL (Martien Verbruggen)
Re: Exporting ENViroment variables back to the shell (Martien Verbruggen)
Re: Help need with Gifgraph module on Win32 (John Armsby)
Re: how to change a '\' to '/' ? <rudolpht@lsv-wuerttemberg.de>
Re: newbie help, module for changing date/time fromat t (Larry Rosler)
Portable INI parser <bmf0354@my-deja.com>
Re: Portable INI parser <tex@engsoc.carleton.ca>
Re: print (join ':',@y)," missing\n" (Was: bug or featu (Larry Rosler)
Re: Random Numbers (Martien Verbruggen)
reading binary files heitkamp@attglobal.net
Re: reading binary files <corlando@MUNGEpop.phnx.uswest.net>
Redirecting output to /dev/null (Scot Hacker)
Solaris 7 gcc 2.95.1 perl 5.005_03 wont Configure <roman.thelen@abb.de>
Re: To Abigail re: reading current threads <kbandes@home.com>
Re: To Abigail re: reading current threads (Martien Verbruggen)
Re: To Abigail re: reading current threads (Jeff Fisher)
Re: To Abigail re: reading current threads <elaine@chaos.wustl.edu>
Re: To Abigail re: reading current threads <elaine@chaos.wustl.edu>
Re: using strict, no soft references!! now what? (Martien Verbruggen)
Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 05 Oct 1999 23:24:20 -0400
From: Uri Guttman <uri@sysarch.com>
Subject: Re: array for network simulator
Message-Id: <x7d7utrx23.fsf@home.sysarch.com>
>>>>> "GJ" == George Jempty <jb4mt@verbatims.com> writes:
GJ> I think you should pick up Mastering Algorithms with Perl -- just out
good job. jeopardy quoting 55 lines of a post and a one line
answer. this is why you get flamed here.
<snip of full quote>
learn how to configure your newsreader (it's redmondware so who knows if
it can be used intelligently) or get a better one.
this is part of netiquette and if you keep breaking it, you will not be
happy in this group.
go program in php like you threatened. try using it off the web.
uri
--
Uri Guttman ----------------- SYStems ARCHitecture and Software Engineering
uri@sysarch.com --------------------------- Perl, Internet, UNIX Consulting
Have Perl, Will Travel ----------------------------- http://www.sysarch.com
The Best Search Engine on the Net ------------- http://www.northernlight.com
------------------------------
Date: Tue, 5 Oct 1999 19:16:36 -0700
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: C style was Re: Random Numbers
Message-Id: <MPG.126450db630d7a698a042@nntp.hpl.hp.com>
[Posted and a courtesy copy sent.]
In article <x7hfk5s4y5.fsf@home.sysarch.com> on 05 Oct 1999 20:33:54 -
0400, Uri Guttman <uri@sysarch.com> says...
...
> traversing parallel arrays is one of the few places in perl where using
> c style for loops can be a win. if you don't mind destroying one of the
> arrays, then this looks better:
Destroying *one* of the arrays???
> while( @array1 ) {
>
> $a = shift @array1 ;
> $b = shift @array2 ;
>
> blah blah
> }
Probably you meant to write:
for $a ( @array1 ) {
$b = shift @array2 ;
blah blah
}
--
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: 6 Oct 1999 04:28:26 GMT
From: efflandt@xnet.com (David Efflandt)
Subject: Re: Call CGI Perl whithout Forms
Message-Id: <slrn7vljvu.1id.efflandt@efflandt.xnet.com>
On Tue, 05 Oct 1999 17:56:15 +0200, Gaetan <gaetan@eii.fr> wrote:
>I want to call a Cgi Perl whithout use a form.
>And after i wan't my Perl return some HTML code is the current page of
>the browser, i don't want create a new page.
>
> Please Help.
>
> The French GAETAN.
Perhaps you mean 'in" the current page. This is not a Perl question.
See the docs about your webserver regarding SSI (server side includes).
For Apache ( http://www.apache.org/ ) see mod_include.
--
David Efflandt efflandt@xnet.com http://www.xnet.com/~efflandt/
http://www.de-srv.com http://cgi-help.virutalave.net/
http://thunder.prohosting.com/~cv-elgin/
------------------------------
Date: Wed, 06 Oct 1999 02:16:06 GMT
From: Scratchie <AgitatorsBand@yahoo.com>
Subject: Re: CGI Date Datebase?
Message-Id: <GhyK3.112$Q11.24997@news.shore.net>
George Jempty <jb4mt@verbatims.com> wrote:
: Have your main page be dynamically generated by a CGI script, and then your
: idea of storing the events in a text file is on track, except that you won't
: have to run a seperate "mini-program" every night to update the sidebar --
: such a mini-program, the CGI script, will run everytime the page loads and
: will print the event for the appropriate days event, as well as all the
: other html which I'm assuming will remain unchanged for the time being.
Actually he'd be better off having a "mini-program" run every night, since
that would only be one process per 24 hours, instead of kicking off a
separate CGI process every time someone loads the page.
Since he is apparently required to use Unix (what good fortune!) this is
every easy to do.
To the original poster (or anyone else trying to do something like this):
First, on your Unix machine, run "man cron" and "man crontab" to get an
idea of how to schedule a periodic job. The man pages may be too technical
for you, in which case you may want to go into a bookstore, find O'Reilly
and Associates' book on (Unix) System Administration, and read the
sections on cron and crontab (if you can't borrow it from a colleague;
it's kind of big to buy just to learn how to do cron jobs).
As far as the perl script goes that updates your page, the basic idea is
that in your HTML page, you have markers like
<!-- BEGIN CALENDAR -->
<!-- END CALENDAR -->
Your perl script would then need to read through the HTML file until it
hit the first tag (printing each line, probably to a new temp file) , then
add today's events (in place of yesterday's) and print out the end of the
file (everything after the END tag). Rename the temp file to the live file
and you're done.
Perl gives you a lot of tools to make this easier. Of course, the details
of how you store your events in a data file are up to you, but unless you
have thousands and thousands of upcoming events, a simple text file should
suffice.
You'll want to look in the perl operators documentation ("perlop") for the
".." operator, which is tailor-made for tasks where you want to do
something *between* two conditions (e.g. a begin and end tag).
Perl also makes it easy to write a general purpose program that reads from
any file and writes to any file, so you could write the perl program that
way and have the cron job be a shell script that specified which file or
files to update, but that might be too ambitious for a beginner. For the
purposes of this job, you probably want to read the documentation on the
"open", "close", "print" and "rename" functions, and the syntax for a
"while" loop, then specify the specific files you want to work with in
your script. You could try to wade through the docs in your Unix shell,
but I usually find it easier to go to www.perl.com and read the docs on
the WWW. The O'Reilly & Associates book "Learning Perl" is definitely
worth buying if you're planning on doing any significant amount of perl
programming.
Hope this helps you get started. Once you're at the point where you're
actually writing some code you can always post portions of it here if
you're having problems.
--Art
--
--------------------------------------------------------------------------
National Ska & Reggae Calendar
http://www.agitators.com/calendar/
--------------------------------------------------------------------------
------------------------------
Date: Wed, 06 Oct 1999 04:20:32 GMT
From: cybokk@my-deja.com
Subject: CHOWN in PERL
Message-Id: <7teimb$2ml$1@nnrp1.deja.com>
When I make file with perl script, owner of file is always "NOBODY".
Can I change owner of file?
User of my apache webserver is "NOBODY".
I should leave this part as it is because of some other script.
Could Anybody help?
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Wed, 06 Oct 1999 04:42:12 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: CHOWN in PERL
Message-Id: <EqAK3.11$bM2.1067@nsw.nnrp.telstra.net>
On Wed, 06 Oct 1999 04:20:32 GMT,
cybokk@my-deja.com <cybokk@my-deja.com> wrote:
> When I make file with perl script, owner of file is always "NOBODY".
No, it is not. It only is when you run the script as NOBODY. I
actually suspect that it's nobody, not NOBODY, and that you are
running CGI scripts, right?
> Can I change owner of file?
Yes. Log on as root, and type
chown new_user_name filename
> User of my apache webserver is "NOBODY".
Ah, right, you are talking about CGI scripts.
> I should leave this part as it is because of some other script.
Huh? What does this mean?
None of the above, until now, has anything to do with perl. Let's just
give it a perl twist anyway:
There are really only two ways you can get these files to be owned by
another user:
1) run apache as another user (bad, bad, bad idea)
2) run the CGI scripts suid (even worse, horrible idea, and your ISP
will probably refuse it, and rightly so)
But.. Do you _really_ need the files to be owned by another user? Or
are you just struggling with file permissions? If the latter:
# perldoc -f umask
# perldoc -f chmod
Next time, please just tell us what you want to achieve, as well as
your suggestions to fix it. At least then we can make some slightly
more informed suggestions.
Martien
--
Martien Verbruggen |
Interactive Media Division | Failure is not an option. It comes
Commercial Dynamics Pty. Ltd. | bundled with your Microsoft product.
NSW, Australia |
------------------------------
Date: Wed, 06 Oct 1999 03:14:56 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: Exporting ENViroment variables back to the shell
Message-Id: <Q8zK3.174$_G2.5177@nsw.nnrp.telstra.net>
On Wed, 06 Oct 1999 01:11:03 GMT,
Daniel W. Burke <dwb1@home.com> wrote:
> I'm trying to figure out a way to export an enviroment variable back to
> the shell. I've been looking and experimenting for a while now, and havn't
> been able to come up with anything that works.
# perldoc perlfaq8
I {changed directory, modified my environment} in a perl
script. How come the change disappeared when I exited the
script? How do I get my changes to be visible?
> A module I need requires a lib that isn't located in a place setup in
> /etc/ld.so.conf, so I need to set LD_LIBRARY_PATH before executing the
> script. Unfortunatly, that isn't always going to be an option, because
> it's going to be a CGI script, and I don't have root on this machine to
> update ld.so.conf and run ldconfig. (The machine I have to run this
> script on is so messed up it's not funny (redhat 6.0)).
Set LD_LIBRARY_PATH in the perl script and run the program from there.
Martien
--
Martien Verbruggen |
Interactive Media Division |
Commercial Dynamics Pty. Ltd. | Curiouser and curiouser, said Alice.
NSW, Australia |
------------------------------
Date: Wed, 06 Oct 1999 02:21:53 GMT
From: jaws@mindspring.com (John Armsby)
Subject: Re: Help need with Gifgraph module on Win32
Message-Id: <37fab19c.961399@news.mindspring.com>
I run the Linux version flawlessly. I too just tried to load the NT
version with the same results. I need to create graphs to dish out by
apache. My unenlightened employer only runs NT. Are we the great
unwashed out of luck? Is it possible to use the "nmake" utility with
an earlier version of GD and GifGraph and get this great utility to
work? Do we have options?
Help!!!!!
John
On Mon, 27 Sep 1999 01:34:05 GMT, mgjv@comdyn.com.au (Martien
Verbruggen) wrote:
>In article <eoyH3.1441$s82.7626@news1.online.no>,
> "Trond Michelsen" <mike@crusaders.no> writes:
>
>> The newest version of the GD module (v1.6+) does not support the
>> GIF-format. IIRC the author can't afford the royality Unisys
>> demands from authors of software that generates gif-images, so now
>> the GD-package is for generating png-images instead. The GIFgraph
>> module has been updated, and is now called PNGgraph.
>
>Almost correct, but not entirely. GIFgraph and PNGgraph are not the
>same thing. PNGgraph is GIFgraphs code, slightly reworked to work with
>the new version of GD, but it has not been done by me, because I
>basically didn't have the time to fix this.
>
>I am currently working on creating some version of this code that can
>work with both types of GD (old and new), and move it into a better,
>less obsolete name space (GD::graph, or GDgraph or something like
>that). At that point in time GIfgraph will become a wrapper around the
>new package, and hopefully, so will PNGgraph.
>
>If someone can convince my boss and my family that I really need to
>sit down and work on this for a few hours, then possibly it'll be done
>soon :)
>
>Martien
>--
>Martien Verbruggen |
>Interactive Media Division | Failure is not an option. It comes
>Commercial Dynamics Pty. Ltd. | bundled with your Microsoft product.
>NSW, Australia |
------------------------------
Date: Wed, 06 Oct 1999 06:37:18 +0200
From: Tobias Rudolph <rudolpht@lsv-wuerttemberg.de>
Subject: Re: how to change a '\' to '/' ?
Message-Id: <cs76N51tujvh4R=XQvxEr5=ZXw38@4ax.com>
On Tue, 05 Oct 1999 12:24:51 +0100, David Cantrell
<NukeEmUp@ThePentagon.com> wrote:
Ok, I guess my question was´nt very clear. Let´s try it again :).
I read a file (ascii) with paths in it.
For example the file could look like this:
home\1234567890\1234567890-0
... # several other lines with paths; all paths have '\' as delimiter
When I read the file (@lines = <FILE>), I want to change all the
'\'-delimiters to '/'.
>>$path = "\my_dir\my_file";
>
>If that's how you're setting $path, then I suggest you try printing
>out the value of $path to see what you've set it to. Then consult the
>documentation to figure out why.
Yes, I know, that there aren´t any backslashes in that particular
example. But I guess, my @lines look exactly like the $path.
Hope, it is more clear now.
Tobias
------------------------------
Date: Tue, 5 Oct 1999 19:22:29 -0700
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: newbie help, module for changing date/time fromat to single number.
Message-Id: <MPG.12645244dfccd96698a043@nntp.hpl.hp.com>
In article <37FAA01B.CBDEABB@maths.uq.edu.au> on Wed, 06 Oct 1999
11:04:27 +1000, christopher dawson <cmd@maths.uq.edu.au> says...
...
> I assumed that you'll write 2000 as mm-dd-100
Why do you assume that? No one will write it that way (except some
defective Perl and C programs :-).
--
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Wed, 06 Oct 1999 02:22:38 GMT
From: Brian Findley <bmf0354@my-deja.com>
Subject: Portable INI parser
Message-Id: <7tebp8$uea$1@nnrp1.deja.com>
Hi,
I'm looking for a portable INI parser module (if possible). I've
located two INI parsers, one on the CPAN (IniConf), and one from Roth
Consulting (Win32::Tie::Ini). Neither of these appears (Roth's for
sure - it uses a dll) to be completely portable between NT and Unix.
Does anyone know if the IniConf module is stable on both NT and Unix?
Are there any additional parsers out there that are portable? Your
help is appreciated.
Brian
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: 6 Oct 1999 02:56:13 GMT
From: Clayton L. Scott <tex@engsoc.carleton.ca>
Subject: Re: Portable INI parser
Message-Id: <7tedod$462$1@bertrand.ccs.carleton.ca>
You, yes you, Brian. Stop writing crap like this:
: Hi,
: I'm looking for a portable INI parser module (if possible). I've
: located two INI parsers, one on the CPAN (IniConf), and one from Roth
: Consulting (Win32::Tie::Ini). Neither of these appears (Roth's for
: sure - it uses a dll) to be completely portable between NT and Unix.
: Does anyone know if the IniConf module is stable on both NT and Unix?
: Are there any additional parsers out there that are portable? Your
: help is appreciated.
I have used IniConf on both Win32 and Unix. It is pure perl.
Clayton
--
Warning: Dates on calendar are closer than they appear.
------------------------------
Date: Tue, 5 Oct 1999 19:09:47 -0700
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: print (join ':',@y)," missing\n" (Was: bug or feature?)
Message-Id: <MPG.12644f49d1dbf09b98a041@nntp.hpl.hp.com>
In article <7te97b$ob8@netnews.hinet.net> on Wed, 6 Oct 1999 09:39:47
+0800, John Lin <johnlin@chttl.com.tw> says...
...
> @y=(23,24,25);
> print (join ":", @y)," missing\n";
>
> Warnings:
> print (...) interpreted as function
> Useless use of a constant in void context
>
> Does it warn that in
> print join ...
> 'join' is interpreted as function, not a filehandle?
It assumes you have enclosed all the arguments for print() in the
parentheses, so yes.
> Then why is the string " missing\n" in void context?
Because it is after the *complete* print function call.
Here are ways to fix the problem:
print join(":", @y)," missing\n";
print +(join ":", @y)," missing\n";
--
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Wed, 06 Oct 1999 03:00:00 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: Random Numbers
Message-Id: <QWyK3.166$_G2.5177@nsw.nnrp.telstra.net>
On Tue, 5 Oct 1999 20:03:35 +0100,
Graeme Sandwell <graeme@cutandpastescripts.com> wrote:
> Hi,
>
> Can you tell me how to generate 9 random numbers and assign them to a value
> called $ran.
Euhmm.. What exactly do you want? 9 random numbers, or do you want one
random number of 9 digits? And if the former, what are the bounds on
your random numbers? And do you want random numbers or integers? You
_have_ to be more clear about these things.
# Generate 9 random numbers and store them in $ran
my $ran;
for (1..9) { push @$ran, rand() }
# Generate a string of 9 digits by concatenating 9 'random' digits
my $ran;
for (1..9) { $ran .= int rand(10); }
# Generate a random integer between 100,000,000 and 999,999,999
my $ran = sprintf "%.0f", 100_000_000 + 999_999_999 * rand();
# Generate a random integer between 0 and 999,999,999
my $ran = sprintf "%.0f", rand(999_999_999);
> Thanks for your help,
Next time, please help yourself by reading the documentation
# perldoc -f rand
And you might want to read the FMTEYEWTK on random numbers:
http://www.perl.com/CPAN/doc/FMTEYEWTK/random
Martien
--
Martien Verbruggen |
Interactive Media Division | Make it idiot proof and someone will
Commercial Dynamics Pty. Ltd. | make a better idiot.
NSW, Australia |
------------------------------
Date: Tue, 05 Oct 1999 22:27:59 -0400
From: heitkamp@attglobal.net
Subject: reading binary files
Message-Id: <37FAB3AF.B2521448@attglobal.net>
I want to read a binary file written by a FORTRAN program.
The header of the file has floating point parameters inside a
FORTRAN record. I've tried using seek and unpack to
read the numbers but I'm getting garbage. Is is possible to
read FORTRAN records, or C structs for that matter from
binary files?
Fred
------------------------------
Date: Tue, 5 Oct 1999 21:09:03 -0700
From: "rootdog" <corlando@MUNGEpop.phnx.uswest.net>
Subject: Re: reading binary files
Message-Id: <rXzK3.1391$n_1.58542@news.uswest.net>
<heitkamp@attglobal.net> wrote in message
news:37FAB3AF.B2521448@attglobal.net...
> I want to read a binary file written by a FORTRAN program.
> The header of the file has floating point parameters inside a
> FORTRAN record. I've tried using seek and unpack to
> read the numbers but I'm getting garbage. Is is possible to
> read FORTRAN records, or C structs for that matter from
> binary files?
Yes. At least I know the C structs thing is possible. Be prepared to become
an expert on templates. One hint, just because the struct says the member
was of one type do not expect to be able to unpack it with the same one.
------------------------------
Date: Wed, 06 Oct 1999 04:04:37 GMT
From: bounce.waxwing@dnai.com (Scot Hacker)
Subject: Redirecting output to /dev/null
Message-Id: <pTzK3.8281$L4.660956@typ12.nn.bcandid.com>
I've got a perl script that's controlling an MP3 player by sending messages
through a command-line scripting utility called "hey." When run from bash, it
works like this:
hey SoundPlay set file of track 0 to file\(filename\)
and off it goes. hey also sends a bunch of data back to the shell, like this:
0 0
Reply BMessage(B_REPLY):
"error" (B_INT32_TYPE) : 0 (0x00000000)
so I can run it like :
hey SoundPlay set file of track 0 to file\(filename\) > /dev/null
to dump the output to the bit bucket. So I want to do this from my perl
script, and I use:
@ControlSP = ("hey", "SoundPlay", "set", "file", "of", "track", \
"0", "to", "file\($Current\)", ">", "/dev/null");
system (@ControlSP);
I can control SoundPlay this way, but that hey return value gets thrown back
into the web page I'm outputting. I've tried adding /dev/null to the above
command every which way, but it either gets ignored or breaks the script.
I'm thinking there must be another way to do this. How can I avoid
getting that reply data back?
I'm using perl 5.005_03 for BeOS.
Thanks for a clue (I'm brand new to perl).
- Scot
--
The BeOS Tip Server: http://www.betips.net/
The BeOS Bible: http://www.birdhouse.org/beos/bible/
The Alt.OS Usability Challenge: http://www.betips.net/challenge/
------------------------------
Date: Wed, 6 Oct 1999 07:09:19 +0200
From: "news.abb.de" <roman.thelen@abb.de>
Subject: Solaris 7 gcc 2.95.1 perl 5.005_03 wont Configure
Message-Id: <7tem5r$5n4@news.abb.de>
Hi,
I got the message:
Use which C compiler? [cc] gcc
Configure: -V: not found
NOTE: You are using GNU ld(1). GNU ld(1) will not build Perl.
I'm arranging to use /usr/ccs/bin/ld by including -B/usr/ccs/bin/
in your gcc command. (Note that the trailing "/" is required.)
Checking for GNU cc in disguise and/or its version number...
*** WHOA THERE!!! ***
Your C compiler "gcc -B/usr/ccs/bin/" doesn't seem to be working!
You'd better start hunting for one and let me know about it.
#
/usr/ccs/bin/ld is there.
What's missing or wrong?
Thanks in advance
Roman Thelen
------------------------------
Date: Wed, 06 Oct 1999 02:35:58 GMT
From: Kenneth Bandes <kbandes@home.com>
Subject: Re: To Abigail re: reading current threads
Message-Id: <37FAB5B9.A933DD6C@home.com>
Elaine -HFB- Ashton wrote:
> clpm
> is the most infantile rabid newsgroup I have ever observed.
Found a really vicious battle on a Zen newsgroup once. You want to
see personal attacks, try questioning someone's interpretation of
Dogen's Shobogenzo.
> I think of the collective time and energy wasted daily and boggle at all
> of the really useful stuff the Perl community could be doing.
The assumption that smart, talented, knowledgeable people are
necessarily capable of doing something useful is highly unwarranted
and doesn't accord with my experience.
Ken Bandes
------------------------------
Date: Wed, 06 Oct 1999 03:10:08 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: To Abigail re: reading current threads
Message-Id: <k4zK3.170$_G2.5177@nsw.nnrp.telstra.net>
On Tue, 05 Oct 1999 21:50:25 -0400,
Elaine -HFB- Ashton <elaine@chaos.wustl.edu> wrote:
> lt lindley wrote:
> > But what would we do for entertainment if it stopped?
>
> So, if you were condemned to listen to a Celine Dion for the rest of
> your days among the living, it wouldn't drive you mad? <scribbling notes>
Celine Dion is not nearly as entertaining as whinges about bas Usenet
etiquette! It's not a fair comparison.
> > little questions and sincere pleas for help. I just don't see how
> > these awful bullies can be so mean to the little critters.
>
> It just seems pointless to rant on over and over and over and over again
> and yet, the same behaviour persists. I'd be happy just to see a higher
> signal to noise ratio. Not replying at all is an option.
I never used to have a killfile. A few months ago, I started one. I
actually switched software to have better kill control. It's making my
life a lot easier on this group. And not replying to certain articles
now happens automatically.
I mainly whinge when people display behaviour like
what's_his_name_again_who_started_this_thread. They're the ones that
get personal entries. Which sometimes makes it hard to follow a thread
:)
Martien
--
Martien Verbruggen |
Interactive Media Division | +++ Out of Cheese Error +++ Reinstall
Commercial Dynamics Pty. Ltd. | Universe and Reboot +++
NSW, Australia |
------------------------------
Date: Wed, 06 Oct 1999 03:43:29 GMT
From: jeffenstein@uswest.net (Jeff Fisher)
Subject: Re: To Abigail re: reading current threads
Message-Id: <BzzK3.1375$n_1.48207@news.uswest.net>
elaine@chaos.wustl.edu (Elaine -HFB- Ashton) wrote in
<37FA7D02.F1238884@chaos.wustl.edu>:
>
>I think of the collective time and energy wasted daily and boggle at all
>of the really useful stuff the Perl community could be doing.
Never underestimate the power of stupid people in large groups.
------------------------------
Date: Wed, 06 Oct 1999 01:36:48 -0400
From: Elaine -HFB- Ashton <elaine@chaos.wustl.edu>
Subject: Re: To Abigail re: reading current threads
Message-Id: <37FADF2A.CCD33B3B@chaos.wustl.edu>
Martien Verbruggen wrote:
> Celine Dion is not nearly as entertaining as whinges about bas Usenet
> etiquette! It's not a fair comparison.
My own personal version of hell is hearing her sing for eternity. Erk,
she makes me wretch. TAKE HER BACK OH CANADA! :) Listen to that darn
Titanic theme song for 24 hours and I'll bet you'll think that you, too,
have glimpsed hell.
*smoochies* Martien.
e.
------------------------------
Date: Wed, 06 Oct 1999 01:38:16 -0400
From: Elaine -HFB- Ashton <elaine@chaos.wustl.edu>
Subject: Re: To Abigail re: reading current threads
Message-Id: <37FADF82.DC760ADE@chaos.wustl.edu>
Jeff Fisher wrote:
> Never underestimate the power of stupid people in large groups.
If they were stupid darling, I wouldn't care. Take my point.
e.
------------------------------
Date: Wed, 06 Oct 1999 03:12:45 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: using strict, no soft references!! now what?
Message-Id: <N6zK3.173$_G2.5177@nsw.nnrp.telstra.net>
On Tue, 05 Oct 1999 18:09:14 -0700,
cLive hoLLoway <cLive@direct2u.co.uk> wrote:
> What I want to be able to do is then use the soft reference ${$2} next
> if that element doesn't exist, and failing that, assign the value
> 'null';
Trust me, that is _not_ what you want to do. if you won't trust me on
that, then you will have to get rid of strict 'refs';
use strict;
no strict 'refs';
should do it. But that means that you are now prone to many possible
problems. Do what you originally test for: Use a hash, and no symrefs.
Unless you know exactly what you are doing, you should not use
symbolic references.
Martien
--
Martien Verbruggen |
Interactive Media Division | +++ Out of Cheese Error +++ Reinstall
Commercial Dynamics Pty. Ltd. | Universe and Reboot +++
NSW, Australia |
------------------------------
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 997
*************************************