[12625] in Perl-Users-Digest
Perl-Users Digest, Issue: 34 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Jul 7 01:17:21 1999
Date: Tue, 6 Jul 1999 22:07:00 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Tue, 6 Jul 1999 Volume: 9 Number: 34
Today's topics:
Local CGI with ActivePerl (Grant D. Watson)
Re: Local CGI with ActivePerl <xanadu@icehouse.net>
Re: Local CGI with ActivePerl (Abigail)
Re: Local CGI with ActivePerl <swiftkid@bigfoot.com>
Re: Local CGI with ActivePerl <gellyfish@gellyfish.com>
Re: Local CGI with ActivePerl (Grant D. Watson)
Re: Local CGI with ActivePerl (Abigail)
Re: Local CGI with ActivePerl (Dave Cross)
Re: Local CGI with ActivePerl <gellyfish@gellyfish.com>
Re: Local CGI with ActivePerl <Webdesigner@NewWebSite.com>
Re: Local CGI with ActivePerl (Abigail)
Re: Local CGI with ActivePerl (Bart Lateur)
Re: Local CGI with ActivePerl <timemashine@lgg.ru>
Re: Local CGI with ActivePerl mchalyard@my-deja.com
Re: Local CGI with ActivePerl (Grant D. Watson)
Re: Local CGI with ActivePerl (Abigail)
Re: Local CGI with ActivePerl (Grant D. Watson)
Re: Local CGI with ActivePerl (Bart Lateur)
Re: Local CGI with ActivePerl <gellyfish@gellyfish.com>
localtime() behaviour different on UNIX and Win32 <dehon_olivier@jpmorgan.com>
Re: localtime (Abigail)
Digest Administrivia (Last modified: 1 Jul 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 04 Jul 1999 05:38:03 GMT
From: vbasicboy@aol.com (Grant D. Watson)
Subject: Local CGI with ActivePerl
Message-Id: <19990704013803.20187.00010083@ng-fv1.aol.com>
I'm *very* *very* new to Perl (though I have _some_ prior programming
experience), so go easy on me. I'm using Windows 98, so I downloaded and
installed ActivePerl Build 518. I did the associations thing, and all appeared
to be working fine, as in fact it is.
But when I try to run a Perl script from Internet Explorer 4.0, it does the
logical thing and runs the perl interpreter, which then prints the output to
the screen in a console window (or DOS box, I don't know which). After
browsing the FAQ and documentation, I have been unable to find out how to get
the interpreter to hand the output to IE as a web page. (Yes, I did the
content-type thing.) Is there an easy way to do this without installing a
stripped down web server on my machine? Thanks in advance for your help.
Grant D. Watson
VBasicBoy@aol.com
------------------------------
Date: Sat, 03 Jul 1999 23:08:21 -0700
From: Myke Folkes <xanadu@icehouse.net>
Subject: Re: Local CGI with ActivePerl
Message-Id: <377EFA55.A4FA089D@icehouse.net>
You would have to install a web server, as far as I know..
ttyl
-Myke
"Grant D. Watson" wrote:
> I'm *very* *very* new to Perl (though I have _some_ prior programming
> experience), so go easy on me. I'm using Windows 98, so I downloaded and
> installed ActivePerl Build 518. I did the associations thing, and all appeared
> to be working fine, as in fact it is.
> But when I try to run a Perl script from Internet Explorer 4.0, it does the
> logical thing and runs the perl interpreter, which then prints the output to
> the screen in a console window (or DOS box, I don't know which). After
> browsing the FAQ and documentation, I have been unable to find out how to get
> the interpreter to hand the output to IE as a web page. (Yes, I did the
> content-type thing.) Is there an easy way to do this without installing a
> stripped down web server on my machine? Thanks in advance for your help.
>
> Grant D. Watson
> VBasicBoy@aol.com
------------------------------
Date: 4 Jul 1999 01:18:25 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Local CGI with ActivePerl
Message-Id: <slrn7ntv4u.31h.abigail@alexandra.delanet.com>
Grant D. Watson (vbasicboy@aol.com) wrote on MMCXXXIII September MCMXCIII
in <URL:news:19990704013803.20187.00010083@ng-fv1.aol.com>:
~~ I'm *very* *very* new to Perl (though I have _some_ prior programming
~~ experience), so go easy on me. I'm using Windows 98, so I downloaded and
~~ installed ActivePerl Build 518. I did the associations thing, and all appeared
~~ to be working fine, as in fact it is.
~~ But when I try to run a Perl script from Internet Explorer 4.0, it does the
~~ logical thing and runs the perl interpreter, which then prints the output to
~~ the screen in a console window (or DOS box, I don't know which). After
~~ browsing the FAQ and documentation, I have been unable to find out how to get
~~ the interpreter to hand the output to IE as a web page. (Yes, I did the
~~ content-type thing.) Is there an easy way to do this without installing a
~~ stripped down web server on my machine? Thanks in advance for your help.
That's not a Perl question. Call Microsoft Tech Support for problems
with MSIE.
Abigail
--
sub f{sprintf$_[0],$_[1],$_[2]}print f('%c%s',74,f('%c%s',117,f('%c%s',115,f(
'%c%s',116,f('%c%s',32,f('%c%s',97,f('%c%s',0x6e,f('%c%s',111,f('%c%s',116,f(
'%c%s',104,f('%c%s',0x65,f('%c%s',114,f('%c%s',32,f('%c%s',80,f('%c%s',101,f(
'%c%s',114,f('%c%s',0x6c,f('%c%s',32,f('%c%s',0x48,f('%c%s',97,f('%c%s',99,f(
'%c%s',107,f('%c%s',101,f('%c%s',114,f('%c%s',10,)))))))))))))))))))))))))
-----------== 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: Sun, 4 Jul 1999 10:57:59 +0500
From: "Faisal Nasim" <swiftkid@bigfoot.com>
Subject: Re: Local CGI with ActivePerl
Message-Id: <7lo0hd$asd1@news.cyber.net.pk>
> content-type thing.) Is there an easy way to do this without installing a
> stripped down web server on my machine? Thanks in advance for your help.
No there isn't.
If you really don't want a web server, then follow this:
1. Make your script output all info to a file
open FILE , ">output.html";
select FILE;
print "This goes in output.html";
2. Open that file in IE
But you can't use POST then!
Anyway, if you can download a 5 mb ActivePerl binary, can't you download
2.7 mb more? www.apache.org/dist/ - and its free like Perl!
--
Faisal Nasim (the Whiz Kid)
Web: http://wss.hypermart.net/
AOL: Whiz Swift ICQ: 4265451
FAX: (815) 846-2877
------------------------------
Date: 4 Jul 1999 13:02:41 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Local CGI with ActivePerl
Message-Id: <7lnm1h$3pl$1@gellyfish.btinternet.com>
On 04 Jul 1999 05:38:03 GMT Grant D. Watson wrote:
> I'm *very* *very* new to Perl (though I have _some_ prior programming
> experience), so go easy on me.
Let us be the judges as to what response would be appropriate.
> I'm using Windows 98, so I downloaded and
> installed ActivePerl Build 518. I did the associations thing, and all appeared
> to be working fine, as in fact it is.
> But when I try to run a Perl script from Internet Explorer 4.0, it does the
> logical thing and runs the perl interpreter, which then prints the output to
> the screen in a console window (or DOS box, I don't know which). After
> browsing the FAQ and documentation, I have been unable to find out how to get
> the interpreter to hand the output to IE as a web page. (Yes, I did the
> content-type thing.) Is there an easy way to do this without installing a
> stripped down web server on my machine? Thanks in advance for your help.
>
You will need to install some HTTP server on your PC - as you have Windows
98 you might find it easiest to install the Personal Web Server that can
be found right there on the CD : I'm not making any other recommendation for
it though. The Win32 specific FAQ that is part of the Activeperl distribution
has instructions for setting up various servers to work with Perl.
If you want further recommendations as to what server to install you will
want to ask in the group comp.infosystems.www.servers.ms-windows
/J\
--
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>
------------------------------
Date: 04 Jul 1999 16:03:48 GMT
From: vbasicboy@aol.com (Grant D. Watson)
Subject: Re: Local CGI with ActivePerl
Message-Id: <19990704120348.18391.00007699@ng-ft1.aol.com>
>That's not a Perl question. Call Microsoft Tech Support for problems
>with MSIE.
I'd like to thank everyone who answered my question, first. Second, I need to
defend myself here. MSIE did precisely what it is supposed to do - ran the
program associated with a Perl script. It was the perl interpreter which did
not do what I wanted - give the output back to IE - and I didn't know how to
make it do it. That's why I asked here.
Grant D. Watson
VBasicBoy@aol.com
------------------------------
Date: 4 Jul 1999 11:49:05 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Local CGI with ActivePerl
Message-Id: <slrn7nv43d.h2r.abigail@alexandra.delanet.com>
Grant D. Watson (vbasicboy@aol.com) wrote on MMCXXXIII September MCMXCIII
in <URL:news:19990704120348.18391.00007699@ng-ft1.aol.com>:
;; >That's not a Perl question. Call Microsoft Tech Support for problems
;; >with MSIE.
;;
;; I'd like to thank everyone who answered my question, first. Second, I need to
;; defend myself here. MSIE did precisely what it is supposed to do - ran the
;; program associated with a Perl script. It was the perl interpreter which did
;; not do what I wanted - give the output back to IE - and I didn't know how to
;; make it do it. That's why I asked here.
MSIE calls Perl.
MSIE directs output.
Output doesn't go where needed.
MSIE faulty.
Call Microsoft Tech Support.
If you think that the Perl interpreter has some special case when called
by MSIE, you are seriously mistaken.
Abigail
--
package Just_another_Perl_Hacker; sub print {($_=$_[0])=~ s/_/ /g;
print } sub __PACKAGE__ { &
print ( __PACKAGE__)} &
__PACKAGE__
( )
-----------== 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: Sun, 04 Jul 1999 18:20:12 GMT
From: dave@dave.org.uk (Dave Cross)
Subject: Re: Local CGI with ActivePerl
Message-Id: <377fa55d.4274494@news.demon.co.uk>
On 4 Jul 1999 13:02:41 -0000, Jonathan Stowe <gellyfish@gellyfish.com>
wrote:
>On 04 Jul 1999 05:38:03 GMT Grant D. Watson wrote:
>> I'm *very* *very* new to Perl (though I have _some_ prior programming
>> experience), so go easy on me.
>
>Let us be the judges as to what response would be appropriate.
>
>> I'm using Windows 98, so I downloaded and
>> installed ActivePerl Build 518. I did the associations thing, and all appeared
>> to be working fine, as in fact it is.
>> But when I try to run a Perl script from Internet Explorer 4.0, it does the
>> logical thing and runs the perl interpreter, which then prints the output to
>> the screen in a console window (or DOS box, I don't know which). After
>> browsing the FAQ and documentation, I have been unable to find out how to get
>> the interpreter to hand the output to IE as a web page. (Yes, I did the
>> content-type thing.) Is there an easy way to do this without installing a
>> stripped down web server on my machine? Thanks in advance for your help.
>>
>
>You will need to install some HTTP server on your PC - as you have Windows
>98 you might find it easiest to install the Personal Web Server that can
>be found right there on the CD : I'm not making any other recommendation for
>it though. The Win32 specific FAQ that is part of the Activeperl distribution
>has instructions for setting up various servers to work with Perl.
Mr. Stowe, you are some evil bastard. You *know* that installing the
Win32 version of Apache from <http://www.apache.org> would be the best
option, yet you send him off to use some half-baked Microsoft
nonsense.
Bad, bad, man.
Dave...
--
Dave Cross <dave@dave.org.uk>
<http://www.dave.org.uk>
------------------------------
Date: 4 Jul 1999 20:54:51 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Local CGI with ActivePerl
Message-Id: <7lohmr$4e3$1@gellyfish.btinternet.com>
On Sun, 04 Jul 1999 18:20:12 GMT Dave Cross wrote:
>
> Mr. Stowe, you are some evil bastard.
>
But Dave I *enjoy* it ...
/J\
--
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>
------------------------------
Date: Mon, 05 Jul 1999 02:00:00 GMT
From: Floyd Morrissette <Webdesigner@NewWebSite.com>
Subject: Re: Local CGI with ActivePerl
Message-Id: <7lp3iu$81v$1@nnrp1.deja.com>
No browser directs output. The script or program directs output. The
script can direct the output to a browser or send mail or write to a
file and probably some other things as well. It is NOT an IE problem.
Now to answer the person's question, you have to install some type of
web server. I have not done it so I cannot tell you how to do it.
In article <slrn7nv43d.h2r.abigail@alexandra.delanet.com>,
abigail@delanet.com wrote:
> Grant D. Watson (vbasicboy@aol.com) wrote on MMCXXXIII September
MCMXCIII
> in <URL:news:19990704120348.18391.00007699@ng-ft1.aol.com>:
> ;; >That's not a Perl question. Call Microsoft Tech Support for
problems
> ;; >with MSIE.
> ;;
> ;; I'd like to thank everyone who answered my question, first. Second,
I need to
> ;; defend myself here. MSIE did precisely what it is supposed to do -
ran the
> ;; program associated with a Perl script. It was the perl interpreter
which did
> ;; not do what I wanted - give the output back to IE - and I didn't
know how to
> ;; make it do it. That's why I asked here.
>
> MSIE calls Perl.
> MSIE directs output.
> Output doesn't go where needed.
> MSIE faulty.
> Call Microsoft Tech Support.
>
> If you think that the Perl interpreter has some special case when
called
> by MSIE, you are seriously mistaken.
>
> Abigail
> --
> package Just_another_Perl_Hacker; sub print {($_=$_[0])=~ s/_/ /g;
> print } sub __PACKAGE__ { &
> print ( __PACKAGE__)} &
> __PACKAGE__
> ( )
>
> -----------== 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 ==-----
>
--
Get your web site from http://www.NewWebSite.com
Consultation is always free.
Help with cgi scripts.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Date: 5 Jul 1999 01:49:58 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Local CGI with ActivePerl
Message-Id: <slrn7o0lc1.h6v.abigail@alexandra.delanet.com>
Floyd Morrissette (Webdesigner@NewWebSite.com) wrote on MMCXXXIV
September MCMXCIII in <URL:news:7lp3iu$81v$1@nnrp1.deja.com>:
[ For some idiotic reason, perhaps lack of Usenet experience, Floyd
decided to write his posting upside down. Response first, then the
quote. Of course, the entire article was quoted, including sigs
and advertisement, and random newlines were inserted.
Silly, silly, silly.
]
$$ In article <slrn7nv43d.h2r.abigail@alexandra.delanet.com>,
$$ abigail@delanet.com wrote:
$$ > Grant D. Watson (vbasicboy@aol.com) wrote on MMCXXXIII September
$$ MCMXCIII
$$ > in <URL:news:19990704120348.18391.00007699@ng-ft1.aol.com>:
$$ > ;; >That's not a Perl question. Call Microsoft Tech Support for
$$ problems
$$ > ;; >with MSIE.
$$ > ;;
$$ > ;; I'd like to thank everyone who answered my question, first. Second,
$$ I need to
$$ > ;; defend myself here. MSIE did precisely what it is supposed to do -
$$ ran the
$$ > ;; program associated with a Perl script. It was the perl interpreter
$$ which did
$$ > ;; not do what I wanted - give the output back to IE - and I didn't
$$ know how to
$$ > ;; make it do it. That's why I asked here.
$$ >
$$ > MSIE calls Perl.
$$ > MSIE directs output.
$$ > Output doesn't go where needed.
$$ > MSIE faulty.
$$ > Call Microsoft Tech Support.
$$ >
$$ > If you think that the Perl interpreter has some special case when
$$ called
$$ > by MSIE, you are seriously mistaken.
$$
$$ No browser directs output. The script or program directs output. The
$$ script can direct the output to a browser or send mail or write to a
$$ file and probably some other things as well. It is NOT an IE problem.
Well, yes, if the program writes to a file, all hope is lost. But do
you really have to ask in this group how *NOT* to write to a file?
Of course not. So, that isn't the answer. Assuming this program was
intended to be called by the browser (otherwise, why call it from the
browser), it'll do the normal thing. Write to STDOUT. Please get a
basic computer book and read up on what standard output means.
If you call `some program` from a Perl program, does "some program"
redirect its output? Of course not. The calling program does. If
you do "cat * > foo", does cat redirect its output? Of course not,
it's the calling program that does.
So, in this case, it *IS* MSIE that goofs up.
$$ Now to answer the person's question, you have to install some type of
$$ web server. I have not done it so I cannot tell you how to do it.
So, you agree it's a bug in MSIE?
Abigail
--
package Just_another_Perl_Hacker; sub print {($_=$_[0])=~ s/_/ /g;
print } sub __PACKAGE__ { &
print ( __PACKAGE__)} &
__PACKAGE__
( )
-----------== 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: Mon, 05 Jul 1999 09:49:25 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: Local CGI with ActivePerl
Message-Id: <37847f5b.7183805@news.skynet.be>
Abigail wrote:
>So, you agree it's a bug in MSIE?
No. There are lots of bugs in MSIE, but this is not one of them.
Without a minimal web server, there's no way that the CGI script's
STDOUT can be redirected to the browser.
It's not a bug. It's a faulty concept. YOU must know the difference.
Bart.
------------------------------
Date: Mon, 5 Jul 1999 15:03:39 +0300
From: "Igor Kanevsky" <timemashine@lgg.ru>
Subject: Re: Local CGI with ActivePerl
Message-Id: <7lq760$j9j$1@step.lep.lg.ua>
> I'm *very* *very* new to Perl (though I have _some_ prior programming
>experience), so go easy on me. I'm using Windows 98, so I downloaded and
>installed ActivePerl Build 518. I did the associations thing, and all
appeared
>to be working fine, as in fact it is.
> But when I try to run a Perl script from Internet Explorer 4.0, it does
the
>logical thing and runs the perl interpreter, which then prints the output
to
>the screen in a console window (or DOS box, I don't know which). After
>browsing the FAQ and documentation, I have been unable to find out how to
get
>the interpreter to hand the output to IE as a web page. (Yes, I did the
>content-type thing.) Is there an easy way to do this without installing a
>stripped down web server on my machine? Thanks in advance for your help.
Unfortunetely without Web-server script doesn't works.
Install the Web server program you like first.
Unless you'll see error mesages in pop-up windows.
Igor Kondakof
kondakof@yahoo.com
------------------------------
Date: Mon, 05 Jul 1999 18:01:43 GMT
From: mchalyard@my-deja.com
Subject: Re: Local CGI with ActivePerl
Message-Id: <7lqru1$oq3$1@nnrp1.deja.com>
I'm somewhat new to Perl, too, but have used
JScript and VBScript for my Web pages.
Perl_Script looks attractive because it combines
many features that are missing in one or the
other MS-blessed languages.
If your script is run in a browser, then write to
a new window or frame using
$window->$document->write (text);.
In an Active Server Page, write to the client
using
$response->write (text);.
In a CGI script, the client is supposed to
receive stdout using
print (text); .
For the latter two options, you have to have a
web server. The MS personal web server that
comes with Win-98 is OK if your testing a server-
side script that you intend to eventually put up
on a full-fledged server. The only drawback is
that the while documentation is excellent for
ASP-hosted scripts, it's almost non-existent for
CGI scripts. The ActivePerl installation has
some examples of using Perl_script in an ASP.
I'm stuck with MS products due to the dictates of
our corporate ADP staff.
- Dennis McNulty
In article <7lq760$j9j$1@step.lep.lg.ua>,
"Igor Kanevsky" <timemashine@lgg.ru> wrote:
> > I'm *very* *very* new to Perl (though I
have _some_ prior programming
> >experience), so go easy on me. I'm using
Windows 98, so I downloaded and
> >installed ActivePerl Build 518. I did the
associations thing, and all
> appeared
> >to be working fine, as in fact it is.
> > But when I try to run a Perl script from
Internet Explorer 4.0, it does
> the
> >logical thing and runs the perl interpreter,
which then prints the output
> to
> >the screen in a console window (or DOS box, I
don't know which). After
> >browsing the FAQ and documentation, I have
been unable to find out how to
> get
> >the interpreter to hand the output to IE as a
web page. (Yes, I did the
> >content-type thing.) Is there an easy way to
do this without installing a
> >stripped down web server on my machine?
Thanks in advance for your help.
>
> Unfortunetely without Web-server script doesn't
works.
> Install the Web server program you like first.
> Unless you'll see error mesages in pop-up
windows.
>
> Igor Kondakof
> kondakof@yahoo.com
>
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Date: 05 Jul 1999 19:25:42 GMT
From: vbasicboy@aol.com (Grant D. Watson)
Subject: Re: Local CGI with ActivePerl
Message-Id: <19990705152542.29700.00006942@ng-ci1.aol.com>
>If your script is run in a browser, then write to
>a new window or frame using
> $window->$document->write (text);.
>In an Active Server Page, write to the client
>using
> $response->write (text);.
>In a CGI script, the client is supposed to
>receive stdout using
> print (text); .
>
>For the latter two options, you have to have a
>web server. The MS personal web server that
>comes with Win-98 is OK if your testing a server-
>side script that you intend to eventually put up
>on a full-fledged server. The only drawback is
>that the while documentation is excellent for
>ASP-hosted scripts, it's almost non-existent for
>CGI scripts. The ActivePerl installation has
>some examples of using Perl_script in an ASP.
I've noticed that the PWS tells you that you *can* use Perl with normal HTML
using PWS, but it doesn't tell you *how*! <Scampers off to find the proper
newsgroup to ask about this.>
Grant D. Watson
VBasicBoy@aol.com
------------------------------
Date: 5 Jul 1999 17:52:53 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Local CGI with ActivePerl
Message-Id: <slrn7o2dph.h6v.abigail@alexandra.delanet.com>
Bart Lateur (bart.lateur@skynet.be) wrote on MMCXXXIV September MCMXCIII
in <URL:news:37847f5b.7183805@news.skynet.be>:
== Abigail wrote:
==
== >So, you agree it's a bug in MSIE?
==
== No. There are lots of bugs in MSIE, but this is not one of them.
==
== Without a minimal web server, there's no way that the CGI script's
== STDOUT can be redirected to the browser.
Huh? Why not? It's *GIVEN* that MSIE calls the program. That was clearly
stated in the question. Now, if MSIE calls the program, and doesn't
capture its output, whose fault is that? Hmmm? Certainly not the program
being called, is it? After all, does any CGI program explicitely open
a pipe to the web server and write output to the pipe, or do they just
write to STDOUT and have the web server capture that? Well?
Note that nowhere in the question it was mentioned that we are dealing
with a CGI program. The question was "MSIE calls program. MSIE shows
blank screen. Where's the output?". He didn't even run a web server,
and the program was called anyway.
== It's not a bug. It's a faulty concept. YOU must know the difference.
*I* do know the difference.
Abigail
--
perl5.004 -wMMath::BigInt -e'$^V=Math::BigInt->new(qq]$^F$^W783$[$%9889$^F47]
.qq]$|88768$^W596577669$%$^W5$^F3364$[$^W$^F$|838747$[8889739$%$|$^F673$%$^W]
.qq]98$^F76777$=56]);$^U=substr($]=>$|=>5)*(q.25..($^W=@^V))=>do{print+chr$^V
%$^U;$^V/=$^U}while$^V!=$^W'
-----------== 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: 06 Jul 1999 06:35:08 GMT
From: vbasicboy@aol.com (Grant D. Watson)
Subject: Re: Local CGI with ActivePerl
Message-Id: <19990706023508.23955.00006068@ng-ci1.aol.com>
>== >So, you agree it's a bug in MSIE?
>==
>== No. There are lots of bugs in MSIE, but this is not one of them.
>==
>== Without a minimal web server, there's no way that the CGI script's
>== STDOUT can be redirected to the browser.
>
>Huh? Why not? It's *GIVEN* that MSIE calls the program. That was clearly
>stated in the question. Now, if MSIE calls the program, and doesn't
>capture its output, whose fault is that? Hmmm? Certainly not the program
>being called, is it? After all, does any CGI program explicitely open
>a pipe to the web server and write output to the pipe, or do they just
>write to STDOUT and have the web server capture that? Well?
>
>Note that nowhere in the question it was mentioned that we are dealing
>with a CGI program. The question was "MSIE calls program. MSIE shows
>blank screen. Where's the output?". He didn't even run a web server,
>and the program was called anyway.
Calm down everybody! Here's the solution I found: after I insuccessfully tryed
to get Microsoft Personal Web Server and Apache (it wanted to have a domain or
somesuch) to solve the problem, a friend directed me to TinyWeb. TinyWeb is a
itty-bitty web server with few configuration options that did wonders.
Whatever program's fault it was, a small web server fixed it!
Grant D. Watson
VBasicBoy@aol.com
------------------------------
Date: Tue, 06 Jul 1999 08:22:29 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: Local CGI with ActivePerl
Message-Id: <3781bc64.327133@news.skynet.be>
Abigail wrote:
>Huh? Why not? It's *GIVEN* that MSIE calls the program. That was clearly
>stated in the question. Now, if MSIE calls the program, and doesn't
>capture its output, whose fault is that? Hmmm?
The bug in MSIE may well be that it launches the program at all.
It was never designed to capture any output.
Bart.
------------------------------
Date: 6 Jul 1999 09:59:19 +0100
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Local CGI with ActivePerl
Message-Id: <3781c567@newsread3.dircon.co.uk>
Bart Lateur <bart.lateur@skynet.be> wrote:
> Abigail wrote:
>
>>Huh? Why not? It's *GIVEN* that MSIE calls the program. That was clearly
>>stated in the question. Now, if MSIE calls the program, and doesn't
>>capture its output, whose fault is that? Hmmm?
>
> The bug in MSIE may well be that it launches the program at all.
>
The bug is in the design of Windows if this is a bug ...
/J\
--
"The Tory Party is like a wonky shopping trolley - it pulls to the
left, it pulls to the right, but you just can't get it to go forward"
- John Prescott
------------------------------
Date: 05 Jul 1999 10:28:30 +0100
From: Olivier Dehon <dehon_olivier@jpmorgan.com>
Subject: localtime() behaviour different on UNIX and Win32
Message-Id: <iuxvhbzsawx.fsf@in-csg58.uk.jpmorgan.com>
Hi,
I just came across a discrepancy which made one of my scripts behave
differently on Solaris and Win32.
Microsoft implementation of localtime (used by Perl) in libc.lib uses
the US rules for calculating the isdst field, whatever your daylight
savings time and time zone settings are (It is documented as such).
This means that in the UK for instance, where DST takes effect a week
earlier than in the US, the isdst field returned by localtime is
different on properly configured Unix systems and on Win32 systems for
a week at the end of March.
Again, I'm not saying it's a Perl problem, I just wanted to draw your
attention to yet another Micro$oft feature that effects Perl users.
Hope this helps.
-Olivier
------------------------------
Date: 2 Jul 1999 19:47:23 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: localtime
Message-Id: <slrn7nqnca.31h.abigail@alexandra.delanet.com>
Leonid Goltser (leonid76@erols.com) wrote on MMCXXXI September MCMXCIII
in <URL:news:7lj86n$lj7$1@autumn.news.rcn.net>:
-- I want my script to print current time. I tried to use 'localtime', but it
-- returns time only in GMT. I want to print time for different time zones.
Then set your timezone.
Abigail
--
package Just_another_Perl_Hacker; sub print {($_=$_[0])=~ s/_/ /g;
print } sub __PACKAGE__ { &
print ( __PACKAGE__)} &
__PACKAGE__
( )
-----------== 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: 1 Jul 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 1 Jul 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.
To submit articles to comp.lang.perl.misc (and this Digest), send your
article to perl-users@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.
The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.
The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.
For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V9 Issue 34
************************************