[13564] in Perl-Users-Digest
Perl-Users Digest, Issue: 974 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Oct 2 18:07:08 1999
Date: Sat, 2 Oct 1999 15:05:07 -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: <938901907-v9-i974@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Sat, 2 Oct 1999 Volume: 9 Number: 974
Today's topics:
Cancelled by Larry Rosler whos_john_galt@my-deja.com
Re: Cancelled by Larry Rosler <gellyfish@gellyfish.com>
Re: Cancelled by Larry Rosler (Larry Rosler)
Re: Email Address Syntax Checking. (Chris Nandor)
Re: fork and segmentation fault <rootbeer@redcat.com>
Re: I am having a problem setting cookies in perl <gellyfish@gellyfish.com>
Re: I am having a problem setting cookies in perl <flavell@mail.cern.ch>
Re: I am having a problem setting cookies in perl <JFedor@datacom-css.com>
Re: I am having a problem setting cookies in perl <gellyfish@gellyfish.com>
Re: I am having a problem setting cookies in perl <flavell@mail.cern.ch>
Re: I can't see the error (short bit of code) <daniel@vesma.co.uk>
Re: LWP questions and SSL, too (Mark A. Hershberger)
LWP to request HTTP/1.1 (Ryan Ngi)
Re: LWP to request HTTP/1.1 <gellyfish@gellyfish.com>
mSQL question: How to save the query result into a file tomwanginc@my-deja.com
Re: reading in stderr from "here" document I create on <rootbeer@redcat.com>
Re: reading in stderr from "here" document I create on (Abigail)
Re: reading in stderr from "here" document I create on <rootbeer@redcat.com>
Re: system function and it's output <rootbeer@redcat.com>
Re: UNIX (Solaris 2.6) to NT ACCESS DB? (Kragen Sitaker)
Re: Wow! cgi.pm is great! <bokler_1@hiwaay.net>
Re: Wow! cgi.pm is great! <gellyfish@gellyfish.com>
Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sat, 02 Oct 1999 19:04:48 GMT
From: whos_john_galt@my-deja.com
Subject: Cancelled by Larry Rosler
Message-Id: <7t5l0c$3s5$1@nnrp1.deja.com>
Thanks in advance.
I admit I am somewhat new to NG ettiquette, but I belive I have learned
the ways of this group. I sincerely and respectfully appreciate all of
the guidance I have received.
On 10/1 I posted a question entitled "Advice from the Wise", I did
receive some excellant replys, that will prove beneficial, but noticed
today that my post was cancelled by Larry Rosler. Research indicated
that Mr. Rosler has posted here a great many times. This being so, I
question as to whether my post was not appropriate for this forum?
Thank you.
Joey Cutchins
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: 2 Oct 1999 20:11:29 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Cancelled by Larry Rosler
Message-Id: <7t5oti$7mt$1@gellyfish.btinternet.com>
On Sat, 02 Oct 1999 19:04:48 GMT whos_john_galt@my-deja.com wrote:
>
> On 10/1 I posted a question entitled "Advice from the Wise", I did
> receive some excellant replys, that will prove beneficial, but noticed
> today that my post was cancelled by Larry Rosler. Research indicated
> that Mr. Rosler has posted here a great many times. This being so, I
> question as to whether my post was not appropriate for this forum?
Did you mail Larry to ask him about this ? Do you have the cancel
message to prove your assertion ?
I believe if you are going to make such allegations it is incumbent
upon you as the accuser to prove yourself ...
If you dont have the proof then I feel that you owe someone an apology.
/J\
--
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>
------------------------------
Date: Sat, 2 Oct 1999 13:34:34 -0700
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: Cancelled by Larry Rosler
Message-Id: <MPG.12600c31e52170ef98a029@nntp.hpl.hp.com>
[Posted and a courtesy copy sent.]
In article <7t5l0c$3s5$1@nnrp1.deja.com> on Sat, 02 Oct 1999 19:04:48
GMT, whos_john_galt@my-deja.com <whos_john_galt@my-deja.com> says...
> I admit I am somewhat new to NG ettiquette, but I belive I have learned
> the ways of this group. I sincerely and respectfully appreciate all of
> the guidance I have received.
>
> On 10/1 I posted a question entitled "Advice from the Wise", I did
> receive some excellant replys, that will prove beneficial, but noticed
> today that my post was cancelled by Larry Rosler. Research indicated
> that Mr. Rosler has posted here a great many times. This being so, I
> question as to whether my post was not appropriate for this forum?
There must be a Netnews mixup of some sort. I have never knowingly
canceled anyone else's post; in fact, I wouldn't know how to, nor can I
imagine a circumstance in which I would want to. Your post (headers
below) is till alive in my newsfeed.
Path:
nntp.hpl.hp.com!hplabs.hpl.hp.com!news.sri.com!newsfeed.stanford.edu!sky
net.be!hermes.visi.com!news-
out.visi.com!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-
mail
From: whos_john_galt@my-deja.com
Newsgroups: comp.lang.perl.misc
Subject: Advice from the Wise
Date: Fri, 01 Oct 1999 21:24:22 GMT
Organization: Deja.com - Before you buy.
Lines: 43
Message-ID: <7t38po$j32$1@nnrp1.deja.com>
NNTP-Posting-Host: 198.211.97.165
X-Article-Creation-Date: Fri Oct 01 21:24:22 1999 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT)
X-Http-Proxy: 1.0 x24.deja.com:80 (Squid/1.1.22) for client
198.211.97.165
X-MyDeja-Info: XMYDJUIDwhos_john_galt
Xref: nntp.hpl.hp.com comp.lang.perl.misc:255630
In this thread, I did cancel and resubmit a post of my own, to correct a
somewhat trivial technical error (referring to a file as '.htm' instead
of '.html'). Here is all I know about the cancellation:
Original article submitted at 17:46 PDT
Cancellation requested at 17:58 PDT
Revised article submitted at 17:59 PDT
These are the headers on the revised article:
Path: nntp.hpl.hp.com!not-for-mail
From: lr@hpl.hp.com (Larry Rosler)
Newsgroups: comp.lang.perl.misc
Subject: Re: Advice from the Wise
Date: Fri, 1 Oct 1999 17:59:25 -0700
Organization: Hewlett-Packard Company
Lines: 25
Message-ID: <MPG.125ef8c2461c15d798a027@nntp.hpl.hp.com>
References: <7t38po$j32$1@nnrp1.deja.com>
<37F544A3.ABC8BBDD@mail.cor.epa.gov>
NNTP-Posting-Host: dhcpa89.hpl.hp.com
X-Newsreader: MicroPlanet Gravity v2.12
Xref: nntp.hpl.hp.com comp.lang.perl.misc:255684
I can't retrieve the headers on the other two messages, which are gone.
Any advice on this problem and how to avoid it in the future (except the
advice not to cancel my own posts :-) will be appreciated.
--
(Just Another Larry) Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Sat, 02 Oct 1999 20:26:03 GMT
From: pudge@pobox.com (Chris Nandor)
Subject: Re: Email Address Syntax Checking.
Message-Id: <pudge-0210991626120001@192.168.0.77>
Maybe Damian can figure it out, he uses MacPerl. :)
--
Chris Nandor mailto:pudge@pobox.com http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6'])
------------------------------
Date: Sat, 2 Oct 1999 12:07:13 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: fork and segmentation fault
Message-Id: <Pine.GSO.4.10.9910021131300.19155-100000@user2.teleport.com>
On Fri, 1 Oct 1999 frodefi@my-deja.com wrote:
> Subject: fork and segmentation fault
> What could be wrong?
Could be a lot of things. See how small you can make your test case; the
more lines of code you can eliminate or simplify, the clearer it will be
what's causing the core dump. Ideally, if you can make a stand-alone
program with fewer than half a dozen lines that still dumps core, it
should be pretty simple to find the problem.
> #!/usr/bin/perl
Probably should also turn on warnings, during development.
> while ($line = <FILE>) {
> chop($line);
It's more usual to use chomp here. In fact, this is why chomp was
invented! But this shouldn't dump core.
> my $processes = 0;
> do {
> $processes = `ps aux | grep -c test`;
> chop($processes);
> sleep 5 if ($processes > $max_processes);
> } while ($processes > $max_processes);
Probably better if your main process just keeps track of how many child
processes are currently outstanding. Increment upon fork, decrement upon
reap. That works so long as the child processes aren't producing new
children of their own.
> $SIG{CHLD} = sub { wait };
This may be the problem. Signal handlers written in Perl are unsafe at
this time, since the signal may happen when it's not safe to call a
subroutine (for example, while allocating memory or rebuilding an internal
data structure). Usually there's no problem, but you never know when
you'll crash. (Still, these tend to be difficult to repeat. And your
program is reliably crashing [to use an oxymoron] isn't it?)
Here's another way:
$SIG{CHLD} = 'IGNORE';
With this, on some systems, the child is automatically reaped for you. The
bad news is that you don't get the exit status, and you don't get the
child's pid - which messes up the process counting I recommended above.
Here's yet another way. Keep a hash of current child pids. Then
periodically (at least before each fork) use waitpid with the WNOHANG
option (if supported on your system) for each pid in the hash, deleting
the zombies.
> } elsif ($! =~ /No more process/) {
Alas, this is not very portable. On my system, the string is "Resource
temporarily unavailable". Better to install Errno from CPAN and check
whether $! == EAGAIN.
Good luck with it!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: 2 Oct 1999 19:27:18 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: I am having a problem setting cookies in perl
Message-Id: <7t5mam$7fj$1@gellyfish.btinternet.com>
On Sat, 2 Oct 1999 14:54:39 -0400 Jody Fedor wrote:
>
> Bill Moseley wrote in message ...
>>Jody Fedor (JFedor@datacom-css.com) seems to say...
>>> Cookies must be set before you issue the Content-type!
>>
>>Oh really?
>
> REALLY!
>
>>Jody, again, please test before posting.
>
> I did, do and Set-Cookie: is not an HTML tag.
>
No it is part of the headers - all that distinguishes header from content
is the extra new line ... in principle the headers should be able to appear
in any order - I dont believe from my reading that the pertinent RFCs
suggest that any particular order is necessary but of course Set-Cookie:
is not actually part of any of those RFCs being a proprietary (but widely
taken up admittedly) extension of netscape invention.
> Maybe you should BUTT OUT if not offering any suggestions!
>
Maybe you should just calm down and go and discuss this stuff in the
correct newsgroup.
<followups set>
/J\
--
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>
------------------------------
Date: Sat, 2 Oct 1999 20:52:53 +0200
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Subject: Re: I am having a problem setting cookies in perl
Message-Id: <Pine.HPP.3.95a.991002204856.10022F-100000@hpplus01.cern.ch>
On Sat, 2 Oct 1999, Jody Fedor wrote:
>
> Bill Moseley wrote in message ...
> >Jody Fedor (JFedor@datacom-css.com) seems to say...
> >> Cookies must be set before you issue the Content-type!
> >
> >Oh really?
Yeah, I wondered about that, too.
> REALLY!
Maybe some kind of practical demonstration is called for.
> >Jody, again, please test before posting.
>
> I did, do and Set-Cookie: is not an HTML tag.
That doesn't look a bit like a "test" to me. Unless by "test" you mean
a test of your technical expertise. And the result, to me, hints that
you don't know what you are talking about.
> Maybe you should BUTT OUT if not offering any suggestions!
Right, now you've convinced me that you don't know what you're talking
about. Next time, try something with technical content if you aim to
demonstrate your command of the topic.
------------------------------
Date: Sat, 2 Oct 1999 16:19:09 -0400
From: "Jody Fedor" <JFedor@datacom-css.com>
Subject: Re: I am having a problem setting cookies in perl
Message-Id: <7t5n1f$2e3$1@plonk.apk.net>
Alan J. Flavell wrote in message ...
>Maybe some kind of practical demonstration is called for.
See sample code in following message.
> Next time, try something with technical content if you aim to
>demonstrate your command of the topic.
I don't need to demonstrate my command of this off-topic discussion
because my website works. Obviously his doesn't.
Jody
------------------------------
Date: 2 Oct 1999 21:06:45 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: I am having a problem setting cookies in perl
Message-Id: <7t5s55$7r9$1@gellyfish.btinternet.com>
On Sat, 2 Oct 1999 16:19:09 -0400 Jody Fedor wrote:
>
> Alan J. Flavell wrote in message ...
>>Maybe some kind of practical demonstration is called for.
>
>
> See sample code in following message.
>
>> Next time, try something with technical content if you aim to
>>demonstrate your command of the topic.
>
>
> I don't need to demonstrate my command of this off-topic discussion
> because my website works. Obviously his doesn't.
>
Oh. So it becomes off-topic when the going gets rough eh ?
I think that the point is that if you are going to start a disputation
about a technical matter then there comes a time when you are going to
have to present some technical content to support your assertion. The
fact that *your* website works is not sufficient I'm afraid.
/J\
--
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>
------------------------------
Date: Sat, 2 Oct 1999 23:15:57 +0200
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Subject: Re: I am having a problem setting cookies in perl
Message-Id: <Pine.HPP.3.95a.991002230206.10022G-100000@hpplus01.cern.ch>
On Sat, 2 Oct 1999, Jody Fedor wrote:
> See sample code in following message.
You asserted that the set-cookie headers _must_ come before the
Content-type header. In order to prove that, you've either got to cite
an authoritative specification showing that this is a formal
requirement, or you've got to produce a demonstration that is otherwise
the same as what you produced, except for the fact that the HTTP headers
are emitted in the opposite order (before the double newline that
terminates the HTTP headers of course), and show that it doesn't work.
So far, you've failed to do either.
Merely demonstrating that your way works, does not eliminate the
possibility that There Is More Than One Way To Do It.
Since I know that it _does_ work, with the browsers that I tried,
I shall watch this thread with detached amusement. Your wittering about
HTML tags makes it pretty clear that nothing much is going to come from
this. Cookies have sod-all to do with HTML specifically.
> I don't need to demonstrate my command of this off-topic discussion
> because my website works.
Evidently you haven't a clue about how to demonstrate your claim.
> Obviously his doesn't.
And you think that this incontrovertibly proves your assertion.
Ho hum.
X-post and F'ups set, as near as possible to your suggestions
(c.i.w.a.html is obviously wrong, and demonstrates your lack of
command of the topic; c.i.w.a.cgi can't be done because of its
automoderation rules).
------------------------------
Date: Sat, 2 Oct 1999 21:27:00 +0100
From: "Daniel Vesma" <daniel@vesma.co.uk>
Subject: Re: I can't see the error (short bit of code)
Message-Id: <7t5pfc$l7o$1@gxsn.com>
> {local $/; $data = <FILE>}
>
> . . . which temporarily makes $/ undefined.
Thanks.
> Via CGI? It's easy and fun for one person to run multiple copies of a
> program with CGI and multiple browser windows. And what happens if the
> machine or Perl crashes before the new products.txt is fully written?
You have me on the crashes. Would DMB be a better solution? I need it to be
able to run on win98(Apache) and UNIX(Apache), so AFAIK I can't use DBM.
> I can't remember why I thought you were using CGI; I must have been
mistaken.
It's an intranet.
> I thought $ShopID was a CGI parameter, and CGI parameters are settable
> by the user, even if you don't want them to be.
I want him to be able to get it.
> Great!
Thanks.
Daniel Vesma - The Web Tree
http://www.thewebtree.com
------------------------------
Date: 02 Oct 1999 14:13:49 -0500
From: mah@everybody.org (Mark A. Hershberger)
Subject: Re: LWP questions and SSL, too
Message-Id: <49670pr2xe.fsf@playpen.baileylink.net>
moseley@best.com (Bill Moseley) writes:
> I just tried to Install Net::SSL using CPAN.pm, but that failed with
>
> In file included from SSLeay.xs:21:
> crypt_ssleay_version.h:1: ssl.h: No such file or directory
> crypt_ssleay_version.h:2: crypto.h: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `SSLeay.o'
Looks like you need the SSLeay include files. I imagine you could
find those in the SSLeay distribution. To find the distribution, I'd
start with Freshmeat (http://fresmeat.net).
But if you can get away with installing Net::SSLeay, use that instead
(I don't know as I've not installed SSL support in perl on my box.)
> So I then tried install Net::SSLeay and got:
>
> I could not find your OpenSSL in `PREFIX=/home/cleita/perl_lib'
> Please provide OpenSSL-0.9.3a installation directory (get from
> http://www.openssl.org/ if you don't have it; please note that
> SSLeay is no longer supported, see README)
>
> And the readme didn't clear up my confusion.
You mean that this error message wasn't clear enough? Go to
http://www.openssl.org/ and download the OpenSSL distribution.
Then install it. Then try again with the Net::SSLeay installation.
Hope this helps,
Mark.
------------------------------
Date: Sat, 02 Oct 1999 19:53:29 GMT
From: ryanngi@hotmail.com (Ryan Ngi)
Subject: LWP to request HTTP/1.1
Message-Id: <37f6621c.61321264@202.47.248.32>
i'm using the latest version of LWP
when i request HTTP
LWP request only HTTP/1.0
is there any way to force LWP to request HTTP/1.1 ???
------------------------------
Date: 2 Oct 1999 20:34:25 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: LWP to request HTTP/1.1
Message-Id: <7t5q8h$7n9$1@gellyfish.btinternet.com>
On Sat, 02 Oct 1999 19:53:29 GMT Ryan Ngi wrote:
> i'm using the latest version of LWP
> when i request HTTP
>
> LWP request only HTTP/1.0
>
> is there any way to force LWP to request HTTP/1.1 ???
>
The LWP manpage states:
The libwww-perl HTTP implementation currently support the
HTTP/1.0 protocol. HTTP/0.9 servers are also handled
correctly.
However if there are particularly features that you require then it might
be possible to add the necessary headers before you send the request.
/J\
--
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>
------------------------------
Date: Sat, 02 Oct 1999 21:39:51 GMT
From: tomwanginc@my-deja.com
Subject: mSQL question: How to save the query result into a file?
Message-Id: <7t5u36$9cj$1@nnrp1.deja.com>
mSQL question: How to save the query result into a file?
Dear Friends:
I try to save the query result (Such as "Select ... From... Where ...")
into a data file, so that I can move the file to my PC for some
analysis.
The msqlexport command will export the whole table into a file, it is
too large, that will take me too much time to delete and re-arrange the
data.
Do you know any easy way to do this in mSQL? Or any way I can use their
C API?
I am too new to mSQL, could you give me a little bit more details?
Thanks a lot !
Tom
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Sat, 2 Oct 1999 13:07:24 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: reading in stderr from "here" document I create on the fly?
Message-Id: <Pine.GSO.4.10.9910021306530.19155-100000@user2.teleport.com>
On 2 Oct 1999, David Efflandt wrote:
> If your shell is bash, this works:
> $blah = `$foo 2>&1`;
What does bash have to do with that? That line uses /bin/sh. Cheers!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: 2 Oct 1999 16:08:09 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: reading in stderr from "here" document I create on the fly?
Message-Id: <slrn7vcthl.1dd.abigail@alexandra.delanet.com>
Tom Phoenix (rootbeer@redcat.com) wrote on MMCCXXIII September MCMXCIII
in <URL:news:Pine.GSO.4.10.9910021306530.19155-100000@user2.teleport.com>:
|| On 2 Oct 1999, David Efflandt wrote:
||
|| > If your shell is bash, this works:
|| > $blah = `$foo 2>&1`;
||
|| What does bash have to do with that? That line uses /bin/sh. Cheers!
Which on certain cheapo systems is bash.
$ /bin/sh --version
GNU bash, version 2.01.1(1)-release (i486-pc-linux-gnu)
Copyright 1997 Free Software Foundation, Inc.
$
Welcome to Unix, an infinite set of parallel Operating Systems, each
just a bit different from the other.
Abigail
--
%0=map{reverse+chop,$_}ABC,ACB,BAC,BCA,CAB,CBA;$_=shift().AC;1while+s/(\d+)((.)
(.))/($0=$1-1)?"$0$3$0{$2}1$2$0$0{$2}$4":"$3 => $4\n"/xeg;print#Towers of Hanoi
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: Sat, 2 Oct 1999 14:36:15 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: reading in stderr from "here" document I create on the fly?
Message-Id: <Pine.GSO.4.10.9910021434140.19155-100000@user2.teleport.com>
On 2 Oct 1999, Abigail wrote:
> Tom Phoenix (rootbeer@redcat.com) wrote on MMCCXXIII September MCMXCIII
> in <URL:news:Pine.GSO.4.10.9910021306530.19155-100000@user2.teleport.com>:
> || On 2 Oct 1999, David Efflandt wrote:
> ||
> || > If your shell is bash, this works:
> || > $blah = `$foo 2>&1`;
> ||
> || What does bash have to do with that? That line uses /bin/sh. Cheers!
> Which on certain cheapo systems is bash.
True, true. Maybe I should have asked "What does 'your shell' have to do
with that?", since that's really the irrelevant part. Oh, well!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Sat, 2 Oct 1999 12:27:52 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: system function and it's output
Message-Id: <Pine.GSO.4.10.9910021225220.19155-100000@user2.teleport.com>
On Fri, 1 Oct 1999, Brett Keenan wrote:
> $status=system("$run_segue >& test.log")/256;
I think you may want something more like this:
$status = system("$run_segue >test.log 2>&1") / 256;
> When I execute the command outside of
> the PERL script at the Unix prompt, it works fine.
I suspect that you're not using /bin/sh, but perl is, and therein lies the
rub. Cheers!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Sat, 02 Oct 1999 19:04:59 GMT
From: kragen@dnaco.net (Kragen Sitaker)
Subject: Re: UNIX (Solaris 2.6) to NT ACCESS DB?
Message-Id: <vHsJ3.8312$t%3.712838@typ11.nn.bcandid.com>
In article <DVtI3.140$QE1.6115@newshog.newsread.com>,
Scott McMahan <scott@aravis.softbase.com> wrote:
>Even MS's own description of their file formats uses the COM storage as a
>basis for how they define the file format (at least for Word and Excel,
>the two file formats whose structure I've seen the documentation for),
>so even if you had the official MS spec it wouldn't help you with the
>MDB file itself if you wanted to use it on another platform.
. . . unless you had libs that could read the COM storage.
>You'd have to reverse engineer the structure of the COM storage format
>itself, which has never been documented that I have ever seen. Even
>shortcuts have no file format documentation, because they are tiny
>storages. Microsoft's apps division uses the storage as-is without trying
>to use the raw file.
>
>A COM storage doesn't have to be even in the (disk) filesystem. It could
>be in a database or something. They don't document it because it is an
>abstraction whose implementation could change --
And the boundary of the abstraction is guarded by Microsoft-copyrighted
code, which is available to developers under the restriction that they
don't try to make it work on other platforms.
Anyway, it *could* change, but when and if it does, it means that
*every application* that uses COM for storage will suddenly no longer
be able to read its old files. This isn't a problem for Microsoft's
apps division, but it could be thought of as a problem for certain
third-party developers. Will they do it? Who knows.
FWIW, there are document converters that understand COM streams and
which are available as free software across multiple platforms --
IIRC. Checking freshmeat might be handy.
BTW, the NTFS-as-COM-storage idea sort of parallels Linux's reiserfs.
--
<kragen@pobox.com> Kragen Sitaker <http://www.pobox.com/~kragen/>
Fri Oct 01 1999
39 days until the Internet stock bubble bursts on Monday, 1999-11-08.
<URL:http://www.pobox.com/~kragen/bubble.html>
------------------------------
Date: Sat, 02 Oct 1999 16:32:29 -0500
From: James Moore <bokler_1@hiwaay.net>
Subject: Re: Wow! cgi.pm is great!
Message-Id: <NHn2N3z6t64tAHwMpjangwJkg7Hn@4ax.com>
On Wed, 29 Sep 1999 06:19:23 -0500, "Campos" <rcampos@mapson.net>
wrote:
>Still have a few formatting issues, though. Is Stein's book any good?
The book is good. If you need/want to learn cgi.pm in a hurry, it's
the best way to get there. Ignore the nitpickers.
------------------------------
Date: 2 Oct 1999 22:26:05 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Wow! cgi.pm is great!
Message-Id: <7t60pt$81l$1@gellyfish.btinternet.com>
On Sat, 02 Oct 1999 16:32:29 -0500 James Moore wrote:
> On Wed, 29 Sep 1999 06:19:23 -0500, "Campos" <rcampos@mapson.net>
> wrote:
>
>>Still have a few formatting issues, though. Is Stein's book any good?
>
> The book is good. If you need/want to learn cgi.pm in a hurry, it's
> the best way to get there. Ignore the nitpickers.
I wouldnt describe Uri as a nitpicker - he somehow volunteered himself
as the book reviewer and there are few here who would dispute his ability
to do this and fewer here who would have the inclination to take over
this role. I would listen.
Oh you were referring to Uri's ever so slightly critical comment werent you?
/j\
--
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>
------------------------------
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 974
*************************************