Re: @INC

2002-07-29 Thread Ruslan V. Sulakov
Thanks, Ilya! You are right! /usr/bin/perl contains old binary from v5.00503 So, I've change it to a link pointing to /usr/local/bin/perl Now all works fine! Ruslan > Looks like your sys admin had installed perl from core and from ports > and as result you have two perl installation on systems. P

@INC

2002-07-29 Thread Ruslan V. Sulakov
My @INC contains WRONG directories!!! Help! How can I change @INC in perl for installing of Apache::SubProcess and other modules? At this time I cannot install any Apache::* related modules, because of bad @INC Platform: FreeBSD I have Apache::* modules installed in: /usr/local/lib/perl5/site_pe

Apache::DProf

2002-07-24 Thread Ruslan V. Sulakov
I have troubles using Apache::DProf I try to use it as described at: http://perl.apache.org/docs/1.0/guide/performance.html#Code_Profiling_Techni ques But when my httpd.conf has a line: PerlModule Apache::DProf apache reply with error 500 (Internal Server Error) when I request a perl script,

HTTP 1.1

2001-06-04 Thread Ruslan V. Sulakov
Strange numbers appeares, when I use HTTP 1.1 protocol to get response from my mod_perl server. The test.pl script: use strict; use Apache::Request(); my $r = shift; my $apr = Apache::Request->new($r); $apr->send_http_header('text/html'); print "1234567"; Now look to HTTP 1.1. response of this

Re: template toolkit compile test problems

2001-04-26 Thread Ruslan V. Sulakov
What is PerlFixupHandler for? Whats the difference of PerlFixupHandler and PerlTransHandler? Thanks, Ruslan

Apache::DBI

2000-06-26 Thread Ruslan V. Sulakov
FreeBSD-3.4stable, apache-1.3.12+mod_perl I use in startup file: use Apache::DBI (); But I run apache I get: utechnology# ./apachectl start defined(@array) is deprecated at /usr/local/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 135. (Maybe you should just omit the defined()?) ./apachectl