Re: Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread Foo JH
try print $template->output; You forgot the print(); xyon wrote: Hey everyone, Firstly, I apologize I sent the previous email under an incorrect subject line. I am working on my first Object-Oriented project, and have hit a slight snag. I am using HTML::Template to output within the View modu

Re: [mp2] Perl 5.10 fixes from SVN cause SIGBUS on sparc

2008-03-12 Thread Philippe M. Chiasson
Niko Tyni wrote: On Mon, Mar 10, 2008 at 10:53:54PM -0700, Philippe M. Chiasson wrote: Niko Tyni wrote: We're switching to Perl 5.10 in Debian soon, and I'm trying to update the mod_perl2 package to keep it working. Unfortunately the ModPerl-Registry test suite is failing on the Sparc architec

[Apache::DBI] [PATCH] use PerlChildExitHandler to properly disconnect

2008-03-12 Thread Alex Hunsaker
This Patch fixes annoying log messages (notably with postgresql, but others may apply) because Apache::DBI fails to disconnect properly at exit time. (it stops the buggers below from filling my logs...) LOG: unexpected EOF on client connection LOG: could not receive data from client: Connection

Re: Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread Roberto C . Sánchez
On Wed, Mar 12, 2008 at 07:58:25PM -0400, Colin Wetherbee wrote: > Roberto � wrote: > >On Wed, Mar 12, 2008 at 11:02:27PM +, xyon wrote: > >>Hey everyone, > >> > >>Firstly, I apologize I sent the previous email under an incorrect subject > >>line. > >> > > > >Yes, but you still hijacked anothe

Re: Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread xyon
Fixed. I forgot to print the template->output. print $template->output; On Wed, 2008-03-12 at 23:02 +, xyon wrote: > Hey everyone, > > Firstly, I apologize I sent the previous email under an incorrect subject > line. > > I am working on my first Object-Oriented project, and have hit a slig

Re: Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread Colin Wetherbee
Roberto � wrote: On Wed, Mar 12, 2008 at 11:02:27PM +, xyon wrote: Hey everyone, Firstly, I apologize I sent the previous email under an incorrect subject line. Yes, but you still hijacked another thread. => In-Reply-To: <[EMAIL PROTECTED]> Please don't do that. Start a new thread by

Re: Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread Roberto C . Sánchez
On Wed, Mar 12, 2008 at 11:02:27PM +, xyon wrote: > Hey everyone, > > Firstly, I apologize I sent the previous email under an incorrect subject > line. > Yes, but you still hijacked another thread. => In-Reply-To: <[EMAIL PROTECTED]> Please don't do that. Start a new thread by sending a

Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread xyon
Hey everyone, Firstly, I apologize I sent the previous email under an incorrect subject line. I am working on my first Object-Oriented project, and have hit a slight snag. I am using HTML::Template to output within the View module, but it never outputs. I don't see any errors in the logs, I just

Re: mod_perl 2.0 Handler issue

2008-03-12 Thread xyon
Hey everyone, I am working on my first Object-Oriented project, and have hit a slight snag. I am using HTML::Template to output within the View module, but it never outputs. I don't see any errors in the logs, I just get a blank page. Below is pertinent information including a test script with its

RE: Config related to Registry Scripts

2008-03-12 Thread Capacio, Paula J
Kindly Ignore -- solution found It was a conflict with the configuration for mod_jk. Paula

environment variable

2008-03-12 Thread James. L
hi, the app i wrote is run under Apache::Registry only. i am wondering if SetEnv/PassEnv will cause any problem in this case (since setenv and passenv only affect %ENV for content generation phase and beyond)? also, a question on apache.. i have tried the following under plain CGI SetEnv PATH xx

Re: mod_perl 2.0 Handler issue

2008-03-12 Thread André Warnier
xyon wrote: Hello everyone, I am writing my first mod_perl handler. I've looked at some of the docs online and have come up with the config/code below. However, when I go to visit the URL in Apache, I get a download prompt for type: httpd/unix-directory. [snip] try this : sub handler {

Config related to Registry Scripts

2008-03-12 Thread Capacio, Paula J
I just installed mod_perl and am trying to follow the fast start instructions here: http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Registry_Scri pts I added the following to the apache configuration file...in my case lxtuxa19.conf Alias /perl/ "/home/webperl/" SetHandler perl-sc

Re: mod_perl 2.0 Handler issue

2008-03-12 Thread xyon
Got it sorted, I forgot I had removed the content_type definition from the handler. It's always the simple things that hang ya up. /home/perl/Myserver/Handler.pm package Myserver::Handler; #Setup some essentials use strict; #strict to

mod_perl 2.0 Handler issue

2008-03-12 Thread xyon
Hello everyone, I am writing my first mod_perl handler. I've looked at some of the docs online and have come up with the config/code below. However, when I go to visit the URL in Apache, I get a download prompt for type: httpd/unix-directory. OS Info: ---

VC 'library' builds with visual studio

2008-03-12 Thread William A. Rowe, Jr.
I found this very interesting blog entry by Jim Beveridge about archiving an object library (.lib, or .a for unix-heads) on various flavors of Visual Studio 2005 and later... http://qualapps.blogspot.com/2007/12/winsxs-breaks-old-debug-libraries.html so anything we ship as a lib (which isn't a d

Re: [mp2] Perl 5.10 fixes from SVN cause SIGBUS on sparc

2008-03-12 Thread Niko Tyni
On Mon, Mar 10, 2008 at 10:53:54PM -0700, Philippe M. Chiasson wrote: > >>Niko Tyni wrote: > >>>We're switching to Perl 5.10 in Debian soon, and I'm trying to update the > >>>mod_perl2 package to keep it working. Unfortunately the ModPerl-Registry > >>>test suite is failing on the Sparc architectu