[15701] in Perl-Users-Digest
Perl-Users Digest, Issue: 3114 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun May 21 21:05:27 2000
Date: Sun, 21 May 2000 18:05:11 -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: <958957511-v9-i3114@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Sun, 21 May 2000 Volume: 9 Number: 3114
Today's topics:
Re: ??? help! referrer url should be ...... <john@digitalmx.com>
Re: ARGGH!HELP! Can't parse these characters =?ISO-885 <john@digitalmx.com>
Re: comparing dates <john@digitalmx.com>
Re: ENV{'REMOTE_HOST'} doesnt work, solution? <john@digitalmx.com>
Excluded strings from warnings <bwarnock@gtemail.net>
Re: Exec <john@digitalmx.com>
Re: file handles - win32 <Luc-Etienne.Brachotte@wanadoo.fr>
Re: file handles - win32 <nnickee@nnickee.com>
Re: file handles - win32 (Bart Lateur)
Re: file locking <john@digitalmx.com>
Re: file locking <tony_curtis32@yahoo.com>
Re: Hash references and subroutines. (Egg J. LeFume)
Help with Perl semantics <notacceptingspam@nowhere.can>
Re: HTML in Perl Script ? <john@digitalmx.com>
Re: Looking for a good editor... <john@digitalmx.com>
Re: Looking for a good editor... <tina@streetmail.com>
Re: PERL and CGI <john@digitalmx.com>
Re: PERL and CGI <flavell@mail.cern.ch>
Re: perl to lunch "Save As" browser window ??? <tony_curtis32@yahoo.com>
Re: perl to lunch "Save As" browser window ??? <flavell@mail.cern.ch>
Recommendations on a Perl/MySQL book or chapter? <neil@pacifier.com>
Re: Recommendations on a Perl/MySQL book or chapter? <jeff@vpservices.com>
Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 21 May 2000 15:31:26 -0700
From: John Springer <john@digitalmx.com>
Subject: Re: ??? help! referrer url should be ......
Message-Id: <B54DB1CE.B00%john@digitalmx.com>
in article 8g9bin$krk$1@nnrp1.deja.com, swapnil909@my-deja.com at
swapnil909@my-deja.com wrote on 5/21/00 11:57 AM:
> BUT I WANT THAT THE REFERRER THAT VALUECLIK.COM RECIEVES IS MYSITE.COM
> AND NOT MYCLIENTS.COM
>
> could somebody please help what should i do????
> all programs are done in perl.
> i have tried quite a few redirection scripts, but none seems to work.
>
The HTTP_REFERER comes from the browser, so there is little you can do about
it directly. The only thing I can see is if the ad on the page is pointing
to say http://valueckick.com/gobble/gobble, you could instead point it to a
script on your own site. Then the script goes to valueclick, gets the
graphic, and delivers it to the client, along with the right click-through
URLs. You would have to look like a browser going to valueclick to get the
client, which you could do with the NET:: libraries and probably some other
stuff that emulates a browser. It's not too hard if you just open a telnet
connection on port 80 and send all the headers a browser would send.
Might be way easier if you tried to work out something will value click
where you get credited for ads on other people's sites. i'm sure you're not
the only one.
--
John Springer
sitting in the rain in Portland.
------------------------------
Date: Sun, 21 May 2000 15:37:34 -0700
From: John Springer <john@digitalmx.com>
Subject: Re: ARGGH!HELP! Can't parse these characters =?ISO-8859-1?B?/yD+?=
Message-Id: <B54DB33D.B01%john@digitalmx.com>
in article 190520001952261163%adsf@dsaf.com, fds at adsf@dsaf.com wrote on
5/19/00 6:52 PM:
> The problem seems to be those nasty little characters... ÿ þ.
>
> I've looked everywhere for some solve but to no avail.
>
> Is this some special unicode trick?
As far as I know, unicode is just emerging in perl. But while perl may
handle it whatever it's talking to may not.
(Your characters show up as a y with an umlaut on my machine.)
You could put in the octal value, that should work: \0nnn whatever it is.
But I'd really try to avoid high order characters in this.
Why can't you use something normal, like a pipe or tab?
Debuggin is tough enough without adding this complication!
--
John Springer
Sitting in the rain in Portland.
Pondering my perl.
Moss everywhere.
Perfect.
------------------------------
Date: Sun, 21 May 2000 16:46:51 -0700
From: John Springer <john@digitalmx.com>
Subject: Re: comparing dates
Message-Id: <B54DC37A.B04%john@digitalmx.com>
in article 098b881c.c24128da@usw-ex0104-033.remarq.com, asound at
asound40NOasSPAM@hotmail.com.invalid wrote on 5/20/00 1:56 PM:
> In article <39270B11.F98A3D5@texas.net>, Cure <cure@texas.net>
> wrote:
>> how can i compare the dates
>> example
>> 31-12-99 is less than 1-1-2000
>
> t
OK, to compare dates you need to get them into "julian" format:
number of seconds since Jan 1 1970.
Time::Local (which ships with standard perl) will do that, if you can get
the text form of the date in the right format.
Here's a routine that parses the input date and sends it to Time::Local
to get the Julian date. If you don't supply a date, it gives you today.
It will understand just about anything except european format, where
4/5/99 means May 4 instead of april 5.
I use it all the time for getting dates input by ordinary users into
chronological order. You can put it into localtime if you want. I like
using GM time.
Call it with something like:
$jday=Jday($datetext);
That's it.
Here's a little interactive test program: (enter quit to stop it).
######################################
while (1){
print "Date?: ";
if (($date =<>)=~/quit/i){exit;}
chomp $date;
$val = Jday($date);
if ($val=~/^\d+$/){#all digits
$datestring=gmtime($val);
print "Julian $val was GM $datestring\n";
}
else {print "!! $val\n\n";}
}
#############################
# and here's the subroutine
####################
sub Jday{
my $calendar=shift;
use Time::Local;
my ($month,$day,$year,$mon,$jtime);
my %monthorder = qw(
Jan 0 Feb 1 Mar 2 Apr 3 May 4 Jun 5 Jul 6 Aug 7 Sep 8 Oct 9 Nov 10 Dec 11
);
if ($calendar){
if (($month)=$calendar=~/([A-Za-z]+)/){ #any contigous characters
($day)=$calendar=~/(\d+)\D*/;
($year)=$calendar=~/\d+\D+(\d+)/; #second set of digits
$month="\u\L$month"; #Title case, like Jan
$mon = $monthorder{substr($month,0,3)};
if (!$mon){return "Error: Can't understand date $calendar\n\n";}
}
else {#must be all numbers
($mon,$day)=$calendar=~/^(\d+)\D(\d+)/; #first two numbers
($year)=$calendar=~/\d+\D\d+\D(\d+)/;
$mon=$mon-1;
}
if (!$year){$year=(gmtime)[5]+1900;} #assume its this year
elsif ($year<100 and $year>=39){$year=$year;}
elsif ($year<38 ){$year+=100;}
elsif ($year>999){ $year=$year-1900;} #for four-digit years.
else {return "Error: can't deal with year $year\n";}
}
else {
($day,$mon,$year)=(gmtime)[3,4,5]; #today
$year+=1900;
$calendar='Today';
}
eval{$jtime=timegm(0,0,0,$day,$mon,$year)}||return("Cannot eval
$day,$mon,$year in timelocal");
return $jtime;
}
##############################################
--
John Springer
Sitting in the rain in Portland.
Pondering my perl.
Moss everywhere.
Perfect.
------------------------------
Date: Sun, 21 May 2000 16:48:39 -0700
From: John Springer <john@digitalmx.com>
Subject: Re: ENV{'REMOTE_HOST'} doesnt work, solution?
Message-Id: <B54DC3E6.B04%john@digitalmx.com>
in article X1SV4.6416$PZ6.773557@news3.cableinet.net, red [2] at
reevesg@cableinet.co.ukx wrote on 5/21/00 7:04 AM:
> im making a log stats program, and i can get a whole bunch of information,
> but for some reason REMOTE_HOST doesnt work :/
>
> i can gett he visitors ip with REMOTE_ADDR but HOST returns nothing..
>
> i know its not the server the user is coming from, so is there an easy and
> quick way to reverse DNS the ip? or a reason why it might not work...
This is a server setting, and it is frequently turn OFF because it can bog
down the server.
If you don't have reverse DNS on, you'll need to do do it from your script.
There's a whole bunch of perl calls for stuff like this, like
"gethostbynumber" or something like that.
--
John Springer
Sitting in the rain in Portland.
Pondering my perl.
Moss everywhere.
Perfect.
------------------------------
Date: Sun, 21 May 2000 22:57:01 GMT
From: "Bryan C. Warnock" <bwarnock@gtemail.net>
Subject: Excluded strings from warnings
Message-Id: <1RZV4.93953$E85.1923592@news1.rdc1.md.home.com>
Can someone refresh my memory on why strings beginning with "di", "ds", and
"ig" are explicitly excluded from having void context use reported?
------------------------------
Date: Sun, 21 May 2000 16:50:04 -0700
From: John Springer <john@digitalmx.com>
Subject: Re: Exec
Message-Id: <B54DC43C.B05%john@digitalmx.com>
in article 39266d8b$0$7294@reader2, Michiel Lankamp at lankamp@casema.net
wrote on 5/20/00 3:46 AM:
> Which command must I use to execute a shell command, while continuing the
> perl-script? Why?
> I want to execute a shell command using my browser, I don't want to see the
> result of the executed command!!
Do it with the backtick quote mark (under the tilde key).
$result=`ls -l`;
will put the result of that shell command into $result. What you do with it
is entirely up to you. Freedom to innovate and all that.
--
John Springer
Sitting in the rain in Portland.
Pondering my perl.
Moss everywhere.
Perfect.
------------------------------
Date: Mon, 22 May 2000 00:54:17 +0200
From: Luc-Etienne Brachotte <Luc-Etienne.Brachotte@wanadoo.fr>
Subject: Re: file handles - win32
Message-Id: <39286919.16593F06@wanadoo.fr>
Gwyn Judd a écrit :
> I was shocked! How could Luc-Etienne Brachotte <Luc-Etienne.Brachotte@wanadoo.fr>
> say such a terrible thing:
> >I have a complex Perl (on win32) script which modifies a lot of files.
> >
> >The files are opened:
> >open filehandle, ">$File_name";
> >
> >Then, on particular conditions, I would like to retrieve the file name
> >from the file handle:
> >$File_name=Get_file_name(filehandle)
> >
> >it is not possible to use the former $File_name, the script would turn
> >to be very complicated.
> >
> >Is it possible to write the the line of code which retrieves the file
> >name?
>
> hmm, well how about storing the filehandle and the name in a hash?
> By the way you really should check for errors on open()'ing a file.
> Something like this (untested) code should do it. Note I am no guru so
> this may well be totally wrong.
I fully understand your point of view. But I didn't want here to write thousands of
lines...
Your "hash-solution" is good, except in my case: I must handle lot of files, it saves
memory NOT to store in a hash or anywhere else the file names. Remember: under
windows every byte is precious!
I your prefer:
Imagine you write a package, with a function in it. This function has one parameter,
on opened file handle.
This function does a lot of actions, and didn't care of the file name.
But... When errors occurs, this function writes the error message, plus the file
name. In this case, the function has to retrieve the file name from the file handle.
Is the question clearer?
------------------------------
Date: Sun, 21 May 2000 18:38:10 -0500
From: Nnickee <nnickee@nnickee.com>
Subject: Re: file handles - win32
Message-Id: <64513A6AD1A2E058.96F1917BD60474E2.30A424AD050BC3F3@lp.airnews.net>
On Mon, 22 May 2000 00:54:17 +0200, someone claiming to be Luc-Etienne
Brachotte <Luc-Etienne.Brachotte@wanadoo.fr> said:
>Imagine you write a package, with a function in it. This function has one parameter,
>on opened file handle.
>This function does a lot of actions, and didn't care of the file name.
>But... When errors occurs, this function writes the error message, plus the file
>name. In this case, the function has to retrieve the file name from the file handle.
>Is the question clearer?
How about just using the name of the file as the filehandle as well?
Nnickee
------------------------------
Date: Mon, 22 May 2000 00:12:57 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: file handles - win32
Message-Id: <392d7aed.12432603@news.skynet.be>
Luc-Etienne Brachotte wrote:
>Your "hash-solution" is good, except in my case: I must handle lot of files, it saves
>memory NOT to store in a hash or anywhere else the file names. Remember: under
>windows every byte is precious!
Actually, I think you're more likely to stumble across a limit on
simultaniously open files, than on memory problems due to the hash.
I can juggle a whole database in memory, which may be small to Abigail's
taste, but which, when printed out, still yields over 1000 pages. In
small print.
--
Bart.
------------------------------
Date: Sun, 21 May 2000 16:52:00 -0700
From: John Springer <john@digitalmx.com>
Subject: Re: file locking
Message-Id: <B54DC4B0.B06%john@digitalmx.com>
in article 3926E8CF.D71D59E3@la.znet.com, Godzilla! at godzilla@la.znet.com
wrote on 5/20/00 12:34 PM:
> I will comment I have extensively tested
> lock / unlock to discover if I can cause
> deliberate corruption of a file. I have
> yet to successfully accomplish this.
As a matter of curiousity, do you think there is any reason
to worry about file locking on a file that is opened for append only.
No trying to read and then rewrite anything; just stick something on the
end.
I'm worried about getting a lot hits in a hurry and losing something.
--
John Springer
Sitting in the rain in Portland.
Pondering my perl.
Moss everywhere.
Perfect.
------------------------------
Date: 21 May 2000 19:42:05 -0500
From: Tony Curtis <tony_curtis32@yahoo.com>
Subject: Re: file locking
Message-Id: <87u2frwh42.fsf@limey.hpcc.uh.edu>
>> On Sun, 21 May 2000 16:52:00 -0700,
>> John Springer <john@digitalmx.com> said:
> As a matter of curiousity, do you think there is any
> reason to worry about file locking on a file that is
> opened for append only.
> No trying to read and then rewrite anything; just stick
> something on the end.
> I'm worried about getting a lot hits in a hurry and
> losing something.
Yes, *always* lock files which are being written to in
such contexts. Multiple readers do not require locking,
but if there's at least 1 writer then you need to have a(n
exclusive) lock in place. Eventually you will get
multiple write/read or write/write actions happening
concurrently and you'll lose or corrupt something.
hth
t
------------------------------
Date: Mon, 22 May 2000 00:47:03 GMT
From: eggie@REMOVE_TO_REPLYsunlink.net (Egg J. LeFume)
Subject: Re: Hash references and subroutines.
Message-Id: <slrn8ih0tg.pfv.eggie@melody.mephit.com>
On Sat, 20 May 2000 13:25:26 +0800, Swee Heng <sweeheng@usa.net> wrote:
[snip]
>You might want to consider using anonymous hash all the way, ie.
> my $bighash = {};
>That will save you the trouble of dereferencing and referencing. To access
>the value of 'key' in $bighash, say $bighash->{'key'}.
[snip]
>Of course, it you want to stick to "normal" hashes, ie. %bighash = (), then
>you can save yourself one derefence in the above by saying:
> my $hash = shift;
> my $var = sub2("foo", "bar", $hash);
[snip]
>> sub sub2 {
>> my ($var1, $var2, $hashref) = @_;
>> my $tempvar = $hash->{$var1}{$var2};
>In the line above, do you mean
> my $tempvar = $hashref->{$var1}{var2};
>???
Yes, I meant $hashref, not $hash, of course. Both of these
methods (using an anonymous hash, and passing the hashref directly to the
second subroutine) work just fine. Thanks to all who replied...
J. Kufrovich
--
Egg, eggie@sunlink.net
FMSp3a/MS3a A- C D H+ M+ P+++ R+ T W Z+
Sp++/p# RLCT a+ cl++ d? e++ f h* i+ j p+ sm+
------------------------------
Date: Mon, 22 May 2000 01:04:33 GMT
From: "Jim Stout" <notacceptingspam@nowhere.can>
Subject: Help with Perl semantics
Message-Id: <BI%V4.18236$T41.395434@newsread1.prod.itd.earthlink.net>
Greetings,
It seems the more I learn about Perl the less I know. This one has
already invoked two bottles of Tylenol and I still have a headache. In
trying to learn PMs I've be looking through the standard PMs (and the
docs). However painful I'm actually catching on.<g> There is on
construct which is giving me grief, which is (extracted from CGI.pm):
'compare' => <<'END_OF_FUNC',
sub compare {
my $self = shift;
my $value = shift;
return "$self" cmp $value;
}
END_OF_FUNC
The subroutine definition I understand. I get the drift of the
<<'END_OF_FUNC'/END_OF_FUNC thing...in that it somehow bounds the
subroutine (no clear on the usage). The part that really loses me is
what is happening with the part:
'compare' => <<'END_OF_FUNC',
Could someone explain what this is doing and how it works. I'm at Wit's
End with no Tylenol left!
Thanks!
Jim
------------------------------
Date: Sun, 21 May 2000 16:55:07 -0700
From: John Springer <john@digitalmx.com>
Subject: Re: HTML in Perl Script ?
Message-Id: <B54DC56B.B09%john@digitalmx.com>
in article 8g5717$pib$1@plutonium.btinternet.com, Lance Boyle at
lancelotboyle@hotmail.com wrote on 5/19/00 9:54 PM:
>
> However, is it possible to instead of using SSI, take all the HTML from the
> web page and put it in the perl script so the calendar appears in the same
> place as before but this time when I change month, the page stays cool and
> mellow ?
If you can edit the perl script that's exactly how to go.
Make sure the very first thing coming from the perl script is:
print "Content-type: text/html\n\n"; #note TWO returns
I usually do my html like this:
print <<EOF; #i.e., 'here'
<HTML><HEAD><TITLE>hi sailor</TITLE....
</BODY></HTML>
EOF
Everything between the print <<EOF and the EOF will just get printed.
It can include perl variables.
Make sure that the EOF is on a line by itself and is left aligned.
--
John Springer
Sitting in the rain in Portland.
Pondering my perl.
Moss everywhere.
Perfect.
------------------------------
Date: Sun, 21 May 2000 17:03:57 -0700
From: John Springer <john@digitalmx.com>
Subject: Re: Looking for a good editor...
Message-Id: <B54DC77C.B0B%john@digitalmx.com>
in article 8g8o5s$oma$2@news2.kornet.net, Padawan at perl@sigmainstitute.com
wrote on 5/21/00 6:25 AM:
> Good day,
> I'm a Perl Padawan (beginner) and have tried a few of Perl editing and
> testing programs (Perl Builder, Perl Studio, DZ Perl Editor), but I want to
> put the money down on a highly recommended editor. What do the Jedi Masters
> of Perl and Perl/CGI use?
>
> Thanks in advance...
>
This one uses BBEdit on a Macintosh.
I've never seen anything on windoze yet that would convince me to switch.
--
John Springer
Sitting in the rain in Portland.
Pondering my perl.
Moss everywhere.
Perfect.
------------------------------
Date: Sun, 21 May 2000 20:24:30 -0400
From: Tina Mueller <tina@streetmail.com>
Subject: Re: Looking for a good editor...
Message-Id: <39287E3E.72B56566@streetmail.com>
hi,
Padawan wrote:
> I'm a Perl Padawan (beginner) and have tried a few of Perl editing and
> testing programs (Perl Builder, Perl Studio, DZ Perl Editor), but I want to
> put the money down on a highly recommended editor. What do the Jedi Masters
> of Perl and Perl/CGI use?
if you have to use windows, try out http://www.textpad.com, it has
got syntax highlighting and can run commands.
tina
--
__ tinamue@gmx.net __| _ enter the
http://user.berlin.de/~tina.mueller | __| |___ ___ _ _ ___
____ tina's moviedatabase ____| / _` / _ \/ _ \ '_(_-< of
__search & add comments or reviews__| \__,_\___/\___/_| /__/ perception
------------------------------
Date: Sun, 21 May 2000 17:08:58 -0700
From: John Springer <john@digitalmx.com>
Subject: Re: PERL and CGI
Message-Id: <B54DC8A9.B0C%john@digitalmx.com>
in article 8g9jgm$pce$1@nnrp1.deja.com, py1ll@my-deja.com at
py1ll@my-deja.com wrote on 5/21/00 2:12 PM:
> I want to call a PERL program to perform some task in the server site
> without returning ANYTHING to the HTML calling page. This, normally,
> generates an error message (there is no data.... etc.) in the browser
> and stops the process. How to avoid that message and with no stop? Is it
> a matter of the http server?
return the same page that called the script.
print "Location: $ENV{'HTTP_REFERER'}\n\n";
--
John Springer
Sitting in the rain in Portland.
Pondering my perl.
Moss everywhere.
Perfect.
------------------------------
Date: Mon, 22 May 2000 02:37:12 +0200
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Subject: Re: PERL and CGI
Message-Id: <Pine.GHP.4.21.0005220229160.15276-100000@hpplus01.cern.ch>
On Sun, 21 May 2000, John Springer wrote:
> in article 8g9jgm$pce$1@nnrp1.deja.com, py1ll@my-deja.com at
> py1ll@my-deja.com wrote on 5/21/00 2:12 PM:
>
> > I want to call a PERL program to perform some task in the server site
> > without returning ANYTHING to the HTML calling page.
Then you want status 204, and you should be on the c.i.w.a.cgi group
(f'ups set).
But think carefully. The user will probably assume that the attempt
failed, if you don't return some explicit confirmation.
In theory, status 201 might be appropriate for reporting success, but
I've yet to find any meaningful support for it in browsers. Maybe I
misunderstood what 201 was intended for, but I found nothing that's
clearly better.
> print "Location: $ENV{'HTTP_REFERER'}\n\n";
Cue Abigail!
If that was the answer, there must have been something wrong with the
question, hmm?
------------------------------
Date: 21 May 2000 17:18:40 -0500
From: Tony Curtis <tony_curtis32@yahoo.com>
Subject: Re: perl to lunch "Save As" browser window ???
Message-Id: <87n1ljo8cf.fsf@limey.hpcc.uh.edu>
>> On Sun, 21 May 2000 18:53:06 GMT,
>> clintp@geeksalad.org (Clinton A. Pierce) said:
> [Posted and mailed to original poster] In article
> <87r9axyq6h.fsf@limey.hpcc.uh.edu>, Tony Curtis
> <tony_curtis32@yahoo.com> writes:
>>>> On 20 May 2000 17:39:12 GMT, teety99@hotmail.com
>>>> (teety) said:
>> I have links in My HTML Page.This link is a perl
>> script link.when click on this link.The perl will do
>> something by following the script (don't care this).
>> ^^ Not sure what this means...
>>
>> And after at I want perl script to lunch a "Save As"
>> browser window.For save some file. How I lunch this
>> "Save As" window ???
>>
>> I'm afraid you can't.
> Well, you can. Just about. Sending data back with the
> MIME type "application/octet-stream" causes every
> browser that I know of to prompt with the "Save As/Open
> With" dialog that's appropriate for that browser...
The notion of forcing a piece of software to do something
is a claim of global behaviour. Aye, there's the rub.
How would my perl-LWP agent running overnight from a
cronjob open a dialog to save a file? Would I want it to?
What would a Braille browser do?
> Exactly how to do this is covered in the CGI.pm
> documentation, and the why of it is best covered in a
> CGI/Web newsgroup. Not here.
That was what I said in the rest of my post, but this was
snipped.
Yes, let's terminate this now. Until the exact same
question is posted here again in a few days and we have to
go through the same refutation again of course...
------------------------------
Date: Mon, 22 May 2000 00:22:52 +0200
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Subject: Re: perl to lunch "Save As" browser window ???
Message-Id: <Pine.GHP.4.21.0005220012200.27796-100000@hpplus01.cern.ch>
On Sun, 21 May 2000, Bart Lateur wrote:
> Then, according to RFC 2183, your browser behaves wrongly.
The behaviour of an HTTP client is codified by RFC2616, and its
attitude to RFC2183 (ex 1806) is expressed here:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1
> Your "viewer" (wiz.exe) should
> only open the file if you specifically request it to.
Well, I got one opportunity to choose - at the point when I
configured wiz.exe as a helper application for that MIME-type.
And I got another opportunity to choose when the browser prompted
me that it intended to open this web document using this helper
("viewer" if you like). I'm content with that.
The only point I was trying to make was to reject the claim that the
sender could ensure (by appropriate choice of headers) that every
client would want to save the document to a disk file.
Hope that clears up the disagreement. All the best.
------------------------------
Date: 21 May 2000 17:49:13 PST
From: Neil <neil@pacifier.com>
Subject: Recommendations on a Perl/MySQL book or chapter?
Message-Id: <39288409.0@news.pacifier.com>
Any recommendations on a good book or even a chapter in a book
that covers MySQL and Perl as a front end?
--
Neil
------------------------------
Date: Sun, 21 May 2000 17:55:05 -0700
From: Jeff Zucker <jeff@vpservices.com>
Subject: Re: Recommendations on a Perl/MySQL book or chapter?
Message-Id: <39288569.2FF85DB7@vpservices.com>
Neil wrote:
>
> Any recommendations on a good book or even a chapter in a book
> that covers MySQL and Perl as a front end?
>
_Programing the Perl DBI_ by Descartes & Bunce, O'Reilly
_MySQL_ by DuBois, New Riders
In that order if you are primarily going to be accessing them in Perl
and/or might eventually use other rdbms. In the reverse order if MySQL
is the only thing you are interested in and Perl is only a small part of
your access of it.
--
Jeff
------------------------------
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 3114
**************************************