Re: NT Install ? wrt Perl versions

2000-01-03 Thread Waldek Grudzien

Try with ftp://theoryx5.uwinnipeg.ca/pub/other/
There is perl5.005_03, mod_perl-1.21, and Apache_1.3.9
built for Windows 95/98/NT made by Randy Kobes
(easy to install and use... ;o) )

Regards,

Waldek Grudzien
_
http://www.uhc.lublin.pl/~waldekg/
University Health Care
Lublin/Lubartow, Poland
tel. +48 81 44 111 88
ICQ # 20441796

 I'm about to install modperl on my NT Workstation for standalone testing.

 Its not clear to me whether the activestate version I have of perl (I have
 5.005_03 binary build 520 Sept 28th/99) will work with the NT binary
 prepared under /authors/Jeffery_Baker

 or

 must I download the perl version of 5.005_02 found under the same folder
 /authors/Jeffery_Baker

 BTW the archive at http://forum.swarthmore.edu/epigone/modperl is down.

 David



Footer.pm - eagle book

2000-01-03 Thread Fernando Rowies

From example 4.1 of the eagle book.
I don't understand in which directory I need to put the file Footer.pm and the
html files that where affected by this module. I configured httpd.conf with:
Location /footer
  SetHandler  perl-script
  PerlHandler Apache::Footer
/Location

TIA
Fernando Rowies
Buenos Aires
Argentina


Get free email and a permanent address at http://www.netaddress.com/?N=1



Invalid command 'PerlHandler' is caused by Y2k?

2000-01-03 Thread Jin Lu

Hi all,
I have got an error output when I started apache(1.3.6) modperl(1.19) web server this 
morning after the New Year.
The output is  Syntax error on line 290 of /sw01/apache/etc/httpd.conf:
Invalid command 'PerlHandler', perhaps mis-spelled or defined by a module not included 
in the server configuration.

If I comment these lines out,  I got some errors with  PerlModules such as PerlModule 
Apache::DBI,
PerlModule Apache::SSI etc when I started the web server. I cannot run  "PerlHandler 
Apache::Registry" any more. 

I tried all possible ways I could. Is it any easy fix for the "Y2K problem"? or I have 
to do from scratch?? 
Thanks a lot for the help!


Jin




Re: Invalid command 'PerlHandler' is caused by Y2k?

2000-01-03 Thread Stathy G. Touloumis


If I comment these lines out,  I got some errors with  PerlModules such as 
PerlModule Apache::DBI,
PerlModule Apache::SSI etc when I started the web server. I cannot 
run  "PerlHandler Apache::Registry" any more.

I tried all possible ways I could. Is it any easy fix for the "Y2K 
problem"? or I have to do from scratch??
Thanks a lot for the help!

Did this run smooth before Y2K?  Is mod_perl being loaded dynamically?


--
   Stathy Touloumis, CTO - JASKE.COM 'innovative I/net'
 JASKE.COM, Inc.
3555 W. Peterson Ave. Chicago  IL  60659
  Office - 773.478.9877 Fax - 773.588.5015
__
[EMAIL PROTECTED] - [EMAIL PROTECTED]



can't open stdout--a problem about CGI

2000-01-03 Thread smash_list

from CGI script. This program has a parameter "outfile=" to
specify where the output should be put. So I set it to 
"outfile=stdout", This is the statements in which I invoke the
DB program:

$command="#/bin/sh;; lookup $parameters -outfile=stdout";
system($command);

But I got a error message "...Can't open stdout".
And the perl script does work if I run it from command line 
directly, not as a CGI script.

I think the script can't open STDOUT in a child process under
CGI, a simpler statment: system("ls") didn't work too, until
I chanaged it to: print `ls`;   


_
Are you ChinaRen?
¸ÐÊÜÖйúÈ˵ĵç×ÓÉú»î
http://www.chinaren.com



Re: can't open stdout--a problem about CGI

2000-01-03 Thread Eric L. Brine


 I think the script can't open STDOUT in a child process under
 CGI, a simpler statment: system("ls") didn't work too, until
 I chanaged it to: print `ls`;

See http://perl.apache.org/guide/porting.html#Output_from_system_calls

--
Eric L. Brine  |  Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED]  |  Do you always hit the nail on the thumb?
ICQ# 4629314   |  An optimist thinks thorn bushes have roses.



diff like routine for a value for perl?

2000-01-03 Thread dreamwvr

hi All,
i am attempting to write a routine that does pretty much what diff does with 
files to values. for instance..
value="here is one, and the end of the pattern1.here is one, and the end of the
pattern1."
what i would like to be able to do is have perl determine that these two were 
actually repeating patterns and then redirect to say $finval1 and finval2
the two patterns as separate scalars. is this reasonable and if so how?
i am having a brain meltdown and how one might do this simply as it may seem..
TIA

[EMAIL PROTECTED]