Re: here is a good modperl question on perlmonk

2002-03-06 Thread Mark Fowler
On Tue, 5 Mar 2002, Medi Montaseri wrote: Stuart Frew wrote: Ideally you would have linux( or what ever) on every developers machine but sometimes you don't get the choice. Oh the choice is easyjust come in on a weekend and install linux on your box. Don't tell IT. That's all. I

Re: here is a good modperl question on perlmonk

2002-03-06 Thread Wim Kerkhoff
I'm jumping into this thread quite lately, but here are my $.03 CDN. Mark Fowler wrote: On Tue, 5 Mar 2002, Medi Montaseri wrote: Stuart Frew wrote: Ideally you would have linux( or what ever) on every developers machine but sometimes you don't get the choice. Oh the choice is

[OT] redirect STDOUT

2002-03-06 Thread Martin Haase-Thomas
Hi all, instead of committing suicide after having tried and searched for all of the day now i'd rather ask you: does anyone know how to redirect STDOUT into a scalar variable, so that a 'print anything' will not appear on STDOUT, but only in my buffer? desperate Martin --

Re: [OT] redirect STDOUT

2002-03-06 Thread Geoffrey Young
Martin Haase-Thomas wrote: Hi all, instead of committing suicide after having tried and searched for all of the day now i'd rather ask you: does anyone know how to redirect STDOUT into a scalar variable, so that a 'print anything' will not appear on STDOUT, but only in my buffer? try

Re: How to invoke the save dialog box when clicking in the link, which is generated by PERL script.

2002-03-06 Thread Martin Haase-Thomas
try: [EMAIL PROTECTED] M. SubbaReddy wrote: Hello Gurus, I am very sorry, if this post is on wrong list. I have a perl script, which gives dynamic page with search files list. Pdf and text files are displaying in browser, when clicking in the link of file. But, I want to save on to disk,

RE: here is a good modperl question on perlmonk

2002-03-06 Thread Stathy G. Touloumis
Unfortunately, this may also allow the developer to potentially change code/configuration that you do not want changed. True...but I'm thinking full control to the developer. Developer can now mis-configure httpd.conf as much as he/she wants and all the paths; virtual or not are consistant,

Site Host Providers that Support mod_perl?

2002-03-06 Thread David Simcik
Alright, I'm a total mod_perl newbie and would like to find a host for my personal site that allows me to develop mod_perl scripts. First off, I'm assuming that there is no way to install mod_perl on my current provider due to (obvious) access privilige restrictions to Apache? Secondly, the

Re: mod_perl and perl RPMs and Oracle 9iAS

2002-03-06 Thread Rafael Caceres
Dear Friends: I'm facing a dilemma here. We are testing an Oracle 9iAS installation (Apache 1.3.19, mod_ssl 2.8.1, mod_perl 1.25 as DSO, Perl 5.005_03) on Red Hat Linux 7.2, which itself came with Perl 5.6.0, and from your comments, that's bad.. On the other hand, Oracle's product does not

Re: mod_perl and perl RPMs and Oracle 9iAS

2002-03-06 Thread Perrin Harkins
Rafael Caceres wrote: I'm facing a dilemma here. We are testing an Oracle 9iAS installation (Apache 1.3.19, mod_ssl 2.8.1, mod_perl 1.25 as DSO, Perl 5.005_03) on Red Hat Linux 7.2, which itself came with Perl 5.6.0, and from your comments, that's bad.. First of all, if it's working for

Re: Site Host Providers that Support mod_perl?

2002-03-06 Thread Stas Bekman
David Simcik wrote: Alright, I'm a total mod_perl newbie and would like to find a host for my personal site that allows me to develop mod_perl scripts. First off, I'm assuming that there is no way to install mod_perl on my current provider due to (obvious) access privilige restrictions to

Where was that success story?

2002-03-06 Thread Fulko Hew
Can someone forward me a URL to the perl/mod-perl success story (from about 6 months ago) that was about some people that went in and re-wrote someones web application and made it run incredably faster in a very short time, but in the end the customer threw it out and went for a competing

Prolem with scripts running under Apache:RegistryLoader

2002-03-06 Thread pawelp
I have a code (not mine) that work fine witout Apache:RegistryLoader - problem is that every httpd process has ~30 MB. After using Apache:RegistryLoader process is 5 MB + 20 MB in shared mem. But than new problem appered: when work without RegLoader I have one connection do our Sybase

Re: Where was that success story?

2002-03-06 Thread Stas Bekman
Fulko Hew wrote: Can someone forward me a URL to the perl/mod-perl success story (from about 6 months ago) that was about some people that went in and re-wrote someones web application and made it run incredably faster in a very short time, but in the end the customer threw it out and went

Re: mod_perl and perl RPMs and Oracle 9iAS

2002-03-06 Thread darren chamberlain
Quoting Rafael Caceres [EMAIL PROTECTED] [Mar 06, 2002 12:22]: Perrin Harkins wrote: Unless there is some additional module provided by Oracle which has a C component and no source, you should be fine to replace everything they gave you if you want to. I wouldn't bother though, unless it's

Re: mod_perl and perl RPMs and Oracle 9iAS

2002-03-06 Thread Rafael Caceres
Perrin Harkins wrote: Rafael Caceres wrote: I'm facing a dilemma here. We are testing an Oracle 9iAS installation (Apache 1.3.19, mod_ssl 2.8.1, mod_perl 1.25 as DSO, Perl 5.005_03) on Red Hat Linux 7.2, which itself came with Perl 5.6.0, and from your comments, that's bad.. First of all, if

Re: Where was that success story?

2002-03-06 Thread Fulko Hew
Fulko Hew wrote: Can someone forward me a URL to the perl/mod-perl success story (from about 6 months ago) that was about some people that went in and re-wrote someones web application and made it run incredably faster in a very short time, but in the end the customer threw it out and

Re: Where was that success story?

2002-03-06 Thread Perrin Harkins
Fulko Hew wrote: Hang on. I just found it (by way of Slashdot)... it was about eToys, October 17, 2001, its web 5 pages long, and mentions Randal Schwartz and Damian Conway. I knew I wasn't dreamming! Um, that was my article, and it certainly doesn't say anything like but in the end the

RE: Breaks in mod_perl, works in Perl

2002-03-06 Thread Mark Hazen
Mark Hazen wrote: I am hoping there is a someone brilliant on this list that can help me. A little while ago, I posted to clp.perl asking how I can capture the trace output from DBI into a variable. Since DBI is an external process, I couldn't do it just by piping STDERR. Benjamin Goldberg

Re: Breaks in mod_perl, works in Perl

2002-03-06 Thread Brian Reichert
On Wed, Mar 06, 2002 at 11:02:51AM -0700, Mark Hazen wrote: IO::Scalar can redirect STDOUT for the mod_perl script itself, but not any external processes like DBI. I am still left without a solution. It amazes me. But using DBI isn't an 'external process', is it? It's a part of your

RE: Breaks in mod_perl, works in Perl

2002-03-06 Thread Mark Hazen
On Wed, Mar 06, 2002 at 11:02:51AM -0700, Mark Hazen wrote: IO::Scalar can redirect STDOUT for the mod_perl script itself, but not any external processes like DBI. I am still left without a solution. It amazes me. But using DBI isn't an 'external process', is it? It's a part of your

RE: Breaks in mod_perl, works in Perl

2002-03-06 Thread Mark Hazen
Mark Hazen wrote: I wish this were true, but no one will ever get IO::Scalar to catch DBI's STDERR output. If so, it's only because STDERR under mod_perl is already tied. DBI is not an external process. Throwing all this stuff into a file is already something DBI can do, but as I already

Re: Where was that success story?

2002-03-06 Thread Eric Hammond
Fulko Hew wrote: Fulko Hew wrote: Can someone forward me a URL to the perl/mod-perl success story (from about 6 months ago) that was about some people that went in and re-wrote someones web application and made it run incredably faster in a very short time [...] I'm part of a small

Re: Breaks in mod_perl, works in Perl

2002-03-06 Thread Paul Lindner
On Wed, Mar 06, 2002 at 11:27:28AM -0700, Mark Hazen wrote: Mark Hazen wrote: I wish this were true, but no one will ever get IO::Scalar to catch DBI's STDERR output. If so, it's only because STDERR under mod_perl is already tied. DBI is not an external process. Throwing all this

Re: Breaks in mod_perl, works in Perl

2002-03-06 Thread Stas Bekman
Mark Hazen wrote: Mark Hazen wrote: I wish this were true, but no one will ever get IO::Scalar to catch DBI's STDERR output. If so, it's only because STDERR under mod_perl is already tied. DBI is not an external process. Throwing all this stuff into a file is already something DBI can

Re: Where was that success story?

2002-03-06 Thread John Saylor
Hi ( 02.03.06 10:28 -0800 ) Eric Hammond: I'm part of a small group which recently did something like this, replacing a major NT/IIS/ASP web site with Linux/Apache/mod_perl/Mason in 3 months. Dude- write this up! Submit it to Stas, or the perl.org web site. This is good stuff that we *all*

RE: Where was that success story?

2002-03-06 Thread Jonathan M. Hollin
:: No public story has been written about it, but I would reply to :: private questions about the experience. To summarize, it went :: very smoothly and was a great success (and no part of it has :: been thrown out for any competing technology). Eric, Would you consider writing a paper

Re: Breaks in mod_perl, works in Perl

2002-03-06 Thread Mark Fowler
On Thu, 7 Mar 2002, Stas Bekman wrote: Mark Hazen wrote: That's your opinion. In my opinion, a bunch of disk IO and file seeks are a waste of resources. The bigger issue here is that it is better to store in memory, and it saddens me that it doesn't seem possible. Hmm, then create a

RE: mod_perl and perl RPMs and Oracle 9iAS

2002-03-06 Thread Rob Bloodgood
Perrin Harkins wrote: Rafael Caceres wrote: I'm facing a dilemma here. We are testing an Oracle 9iAS installation (Apache 1.3.19, mod_ssl 2.8.1, mod_perl 1.25 as DSO, Perl 5.005_03) on Red Hat Linux 7.2, which itself came with Perl 5.6.0, and from your comments, that's bad.. First of

Document Caching

2002-03-06 Thread Rasoul Hajikhani
Hello People, Need your advise on how to cache a template under mod_perl... Any ideas? Thanks in advance -r

Re: Document Caching

2002-03-06 Thread Robert Landrum
At 12:28 PM -0800 3/6/02, Rasoul Hajikhani wrote: Hello People, Need your advise on how to cache a template under mod_perl... Any ideas? Thanks in advance -r #startup.pl open(FILE,/path/to/tmpl); $MY::TEMPLATE .= while(FILE); close(FILE); Provided that you never change $MY::TEMPLATE, this

Re: Document Caching

2002-03-06 Thread Rasoul Hajikhani
Robert Landrum wrote: At 12:28 PM -0800 3/6/02, Rasoul Hajikhani wrote: Hello People, Need your advise on how to cache a template under mod_perl... Any ideas? Thanks in advance -r #startup.pl open(FILE,/path/to/tmpl); $MY::TEMPLATE .= while(FILE); close(FILE); Provided that you

RE: Document Caching

2002-03-06 Thread Henigan, Timothy
Rasoul Hajikhani wrote: Robert Landrum wrote: At 12:28 PM -0800 3/6/02, Rasoul Hajikhani wrote: Hello People, Need your advise on how to cache a template under mod_perl... Any ideas? Thanks in advance -r #startup.pl open(FILE,/path/to/tmpl); $MY::TEMPLATE .=

RE: Document Caching

2002-03-06 Thread Henigan, Timothy
Timothy Henigan wrote: At Wednesday, March 06, 2002 4:23 PM Rasoul Hajikhani wrote: Robert Landrum wrote: At 12:28 PM -0800 3/6/02, Rasoul Hajikhani wrote: Hello People, Need your advise on how to cache a template under mod_perl... Any ideas? Thanks in advance

Virtual locations in mod_perl

2002-03-06 Thread Milo Hyson
I'm having trouble understanding how to configure mod_perl to execute a handler when called with a virtual location (i.e. one that does not directly map to anything in the server's filesystem). I know it's possible because packages like PageKit do it. I tried hacking through PageKit's code,

Re: Where was that success story?

2002-03-06 Thread Perrin Harkins
Kurt Hansen wrote: What I really want to know is: what ever happened to that eToys jingle that was on the commercials? That song is by Hawaiian performer Israel Kamakawiwo`ole. Here's a link to the CD: http://album.yahoo.com/shop?d=haid=1804600529cf=10intl=us - Perrin

Re: [OT] eToys Jingle (was: Where was that success story?)

2002-03-06 Thread Drew Taylor
Thanks to Gnutella, I'm getting chills all over again. I just love that song. eToys might not have survived, but their marketing sure did. :-) At 02:45 PM 3/6/2002 -0800, Tom Servo wrote: What I really want to know is: what ever happened to that eToys jingle that was on the commercials? It

RE: Document Caching

2002-03-06 Thread Cahill, Earl
I am finishing up a sort of alpha version of Data::Fallback (my own name) which should work very well for cache'ing just about anything locally on a box. We are planning on using it to cache dynamically generated html templates and images. You would ask a local perl daemon (using Net::Server)

Re: Document Caching

2002-03-06 Thread Perrin Harkins
Cahill, Earl wrote: I am finishing up a sort of alpha version of Data::Fallback (my own name) which should work very well for cache'ing just about anything locally on a box. We are planning on using it to cache dynamically generated html templates and images. You would ask a local perl

RE: Breaks in mod_perl, works in Perl

2002-03-06 Thread Mark Hazen
Hmm, then create a ramdisk and read from the file virtually stored in the RAM. Stas, This is an elegant solution that I had not thought of. My problem is that I can't get ramdisks to work on my Red Hat 6.2 with 2.4.9 machine. But that's really my problem, and you've all been a big help.

RE: Breaks in mod_perl, works in Perl

2002-03-06 Thread Mark Hazen
This is a design flaw of DBI then. You might get more results if you post on the DBI users list. We got part of the way there by redefining the trace_msg function, the only part that remains is gathering the output of the lower-level DBD calls, that might involve modifying some XS code, (or it

RE: mod_perl and perl RPMs and Oracle 9iAS

2002-03-06 Thread Rob Bloodgood
I've always used DBI along with DBD::Oracle for Database access, and I intend to use them along Oracle 9iAS's other capabilities. So if I'm following you correctly, the steps involved are: -get the 5.6.1 RPM (which doesn't seem to be in Red Hat's site anyway) -get the Apache 1.3.19 sources

Re: here is a good modperl question on perlmonk

2002-03-06 Thread Clayton Cottingham aka Dr Frog
wow crazy!! just got my email and saw this thread! did anyone post on their site? again that node: http://perlmonks.org/?node_id=146303 Wim Kerkhoff wrote: I'm jumping into this thread quite lately, but here are my $.03 CDN. Mark Fowler wrote: On Tue, 5 Mar 2002, Medi Montaseri wrote:

RE: Document Caching

2002-03-06 Thread Cahill, Earl
Hmmm... isn't that sort of backwards? It sounds like you're considering the problem as building a cache that can be taught how to fetch data, but to me it seems more natural to build components for fetching data and teach them how to cache. The semantic for describing how

Re: Document Caching

2002-03-06 Thread Adekunle Olonoh
Need your advise on how to cache a template under mod_perl... Any ideas? Thanks in advance Thanks... But I use Template Toolkit to generate a dynamic file. How would the above code work in that situation?! You should probably post this to the Template Toolkit mailing list for more info

Working Apache::Peek

2002-03-06 Thread Adam Sussman
Has anyone gotten Apache::Peek under Apache::Status to work with perl 5.6.1 and mod_perl 1.26? The stock module from CPAN won't even compile (version 0.9501...is there a newer one out there somewhere?). I tried applying Doug's patch to the Devel::Peek that comes with perl 5.6.1 and (after some

Re: Breaks in mod_perl, works in Perl

2002-03-06 Thread Jeremy Howard
Mark Hazen wrote: Hmm, then create a ramdisk and read from the file virtually stored in the RAM. Stas, This is an elegant solution that I had not thought of. My problem is that I can't get ramdisks to work on my Red Hat 6.2 with 2.4.9 machine. But that's really my problem, and you've

Urgent: Can we get compiled codes(class files in java) in perl like in java

2002-03-06 Thread A.C.Sekhar
Hi all , I need a help. My requirement is like this, we are developing one portal site in perl5(mod_perl)-apache-linux. our client don't want the perl source code. He want only the compiled code. Is it possible to give the compiled code in perl just like that in Java? How can we do that,