Re: Newbie advice required

2003-02-06 Thread Honza Pazdziora
an handle all data sources transparently ... -- ---- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ ... all of these signs saying sorry but we're closed ...

Re: Determining when a cached item is out of date

2003-01-17 Thread Honza Pazdziora
the ratio is good, you might just use the MySQL cache and be done with it. Of course, if your select set is so wide that it is not reasonably cachable, you are out of luck with this route. Yours, -- ---- Honza Pazdziora | [EMAIL PR

Re: Determining when a cached item is out of date

2003-01-16 Thread Honza Pazdziora
t be a problem, it depends on how many of them you have. -- -------- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ ... all of these signs saying sorry but we're closed ...

Re: my little stupid script

2002-12-23 Thread Honza Pazdziora
dvnaced. > > > > > > #!/user/bin/perl -w > usr? > > > use strict; > > > > my $r = shift; But first of all the question is if this code is run in an environment where this shift will return Apache->request object. -- -

Re: Try to tie STDERR

2002-07-15 Thread Honza Pazdziora
as you expect. If the version of Tie::STDERR on CPAN doesn't work for you, write me, I might find some time to make distribution from the code we use here. Of course, YMMV, so you might only use the code as an inspiration. Yours, -- ----

Re: my OR our that is the question ?!

2001-08-09 Thread Honza Pazdziora
you're answering to. -- -------- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, DBI, Oracle, MySQL, auth. WWW servers, DBD::XBase. Will be off email until Aug 15 -- please don't expect responses until then.

Re: [OT] How to write this perl sub w/o variables?

2001-04-29 Thread Honza Pazdziora
On Sun, Apr 29, 2001 at 04:34:40AM -0400, Philip Mak wrote: > > I was thinking something like > > sub XMLEncode { local $_ = shift; > s/&/&/g; > s/ s/>/>/g; > return $_; > } -- ---

Re: [ANNOUNCE] HTTP::GHTTP 1.06

2001-01-21 Thread Honza Pazdziora
21 17:25 libghttp.la lrwxrwxrwx 1 adelton student 17 Jan 21 17:25 libghttp.so -> libghttp.so.1.0.0 lrwxrwxrwx 1 adelton student 17 Jan 21 17:25 libghttp.so.1 -> libghttp.so.1.0.0 -rwxr-xr-x 1 adelton student 185504 Jan 21 17:25 libghttp.so.1.0.0 Yours, --

Re: Upgrading mod_perl on production machine (again)

2001-01-20 Thread Honza Pazdziora
aren't happy to be linked against libraries in nonsystem locations, so you also have to do some LD_* settings. But it's doable. -- ---- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .projec

Re: With high request rate, server stops responding with load zero

2001-01-16 Thread Honza Pazdziora
che source to do that, but does it sound like it would help to decrease the load? -- ---- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, mod_perl, DBI, Oracle, auth. WWW servers, XML/XSL, ... Petition for a Software Patent Free Europe http://petition.eurolinux.org

With high request rate, server stops responding with load zero

2001-01-16 Thread Honza Pazdziora
to docs/archives and opinions would be highly appreciated, -- ---- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, mod_perl, DBI, Oracle, auth. WWW servers, XML/XSL, ... Petition for a Software Patent Free Europe http://petition.eurolinux.org

Re: Strangeness with Carp under mod_perl

2000-10-10 Thread Honza Pazdziora
eing executed, with no real context in $0. -- -------- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, mod_perl, DBI, Oracle, auth. WWW servers, XML/XSL, ...

Re: Auto rollback using Apache::DBI

2000-09-08 Thread Honza Pazdziora
even be called. So if you do my $dbh = DBI->connect('dbi:Oracle:sid'); $dbh->{'AutoCommit'} = 0; such a $dbh won't be rollbacked. -- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, DBI, Oracle, MySQL, auth. WWW servers, MTB, Spain, ...

Re: Auto rollback using Apache::DBI

2000-09-07 Thread Honza Pazdziora
make it a configuration option, not to push the cleanup handler, but I believe that generally the rollback is wanted thing in all cases. -- -------- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project:

Re: Templating system

2000-07-27 Thread Honza Pazdziora
on one place -- in ideal world. -- ---- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, DBI, Oracle, MySQL, auth. WWW servers, MTB, Spain. Petition for a Software Patent Free Europe http://petition.eurolinux.org

Re: PerlRun question

2000-07-13 Thread Honza Pazdziora
uys are either writing everything using Apache::Request, or cleaned up their *.pl's to run fine within Apache::Registry. You need such hackery only for the migration part, not for production code. -- -------- Honza Pazdziora | [EMAI

Re: PerlRun question

2000-07-13 Thread Honza Pazdziora
if $q->param('action') eq 'save'; We have a lot of such uses of globals in scripts here, and the problem is that nor -w nor use strict catches such problems. PerlRunOnce works just fine, except that forking new process for each request is still rather slow. -- ---

Re: PerlRun question

2000-07-13 Thread Honza Pazdziora
han the child started, would be cleaned, set to undef, deleted, whatever. -- -------- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, DBI, Oracle, MySQL, auth. WWW servers, MTB, Spain. Petition for a Software Patent Free Europe http://petition.eurolinux.org

Re: XSL-handler

2000-06-14 Thread Honza Pazdziora
ty stable for me. Just my $0.02. Yours, -- -------- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, DBI, Oracle, MySQL, auth. WWW servers, MTB, Spain.

Re: Connect to Informix remote DB

2000-06-12 Thread Honza Pazdziora
machines, > On B box, "make test" for informix DBD went through ok against the database > on A box. ... Do you have correct .rhosts set on the A box? Does the B box have sqlhosts that would point esorn to box A? -- ----

Location makes redirect and confuses CGI::url

2000-06-05 Thread Honza Pazdziora
3,6 +2183,7 @@ # and path if (exists($ENV{PATH_INFO})) { my $decoded_path = unescape($ENV{PATH_INFO}); + $decoded_path =~ s!^/!!; substr($script_name,$index) = '' if ($index = rindex($script_name,$decoded_path)) >= 0; }

Re: backticks in perl sections?

2000-05-30 Thread Honza Pazdziora
ore reverting to uname -n. You might want to give it a try. -- -------- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, DBI, Oracle, MySQL, auth. WWW servers, MTB, Spain.

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-19 Thread Honza Pazdziora
e to persuate templates and/or stylesheet for this application? -- ---- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, DBI, Oracle, MySQL, auth. WWW servers, MTB, Spain.

Re: [suggestion] *::GZip and chunked output

2000-04-12 Thread Honza Pazdziora
#x27;ll add this into the Apache::OutputChain distribution. Yours, -- ---- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, DBI, Oracle, MySQL, auth. WWW servers, MTB, Spain.

Re: Apache::GzipChain and Netscape 4.7 doesnt work with huge files??

2000-03-30 Thread Honza Pazdziora
that file, do the headers differ? -- ---- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, DBI, Oracle, MySQL, auth. WWW servers, MTB, Spain.

Re: AIX 4.3 - Upload amcO File upload class

1999-11-09 Thread Honza Pazdziora
> anywhere - if anyone can provide them or point me the right > direction, It'd get me out of a hole... Why don't you use CGI.pm and $q->upload? ---- Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.