Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread Jonathan Vanasco
On Jun 21, 2007, at 5:36 PM, Frank Wiles wrote: Off the top of my head? So you can centralize your SMTP onto on system if you have multiple servers in the mix. But that's what MIME::Lite and friends do if you don't specifically tell it to use a remote system. ok. relaying to a local

Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread Frank Wiles
On Thu, 21 Jun 2007 17:16:14 -0400 Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > > Well I wasn't talking about another MP process, just a standard > > Perl daemon maybe using something like the Net::Server framework. > > > > Or if the timing isn't terribly important, just have your > > mp

Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread Jonathan Vanasco
On Jun 21, 2007, at 4:21 PM, Frank Wiles wrote: I have a framework similar to TT and the like, so I'm thinking of creating something like the above module which handles all the Unicode stuff, and which allows subclassing for use with different templating systems and frameworks. Something like

Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread Frank Wiles
On Thu, 21 Jun 2007 20:56:23 +0100 John ORourke <[EMAIL PROTECTED]> wrote: > Thanks Frank, > > Actually it was reading about Mime::Lite::TT::HTML on your excellent > tutorial which inspired the question! What a coincidence! I swear I wasn't tailing my logs or anything! ;) > I have a framewo

Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread John ORourke
Thanks Frank, Actually it was reading about Mime::Lite::TT::HTML on your excellent tutorial which inspired the question! I have a framework similar to TT and the like, so I'm thinking of creating something like the above module which handles all the Unicode stuff, and which allows subclassin

Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread Frank Wiles
On Mon, 18 Jun 2007 16:51:18 +0100 John ORourke <[EMAIL PROTECTED]> wrote: > Hi folks, > > I'm wondering what modules people use for sending email? At the > moment I'm using MIME::Lite but I'm doing several things myself which > a bigger module might do for me: > > - header encoding - I can't

Re: Apache Subprocess

2007-06-21 Thread Scott Gifford
Hi Khan, <[EMAIL PROTECTED]> writes: [...] > I was trying in the lines of below code from http://perl.apache.org/docs/2.0/ > api/Apache/SubProcess.html . > > # write to/read from the process > $command = "/tmp/in_out_err.pl"; > ($in_fh, $out_fh, $err_fh) = $r->spawn_proc_prog($command);

RE: Apache Subprocess

2007-06-21 Thread khan.sajid
Any reply on this, I am literally struct. Please let me know your ideas -Sajid Hi Folks, I was trying in the lines of below code from http://perl.apache.org/docs/2.0/api/Apache/SubProcess.html . # write to/read from the process $command = "/tmp/in_out_err.pl"; ($in_fh, $out_fh, $e

Re: mod_perl2 best practices interacting with non-apache apps

2007-06-21 Thread Jonathan Vanasco
Personally , I do this: MP inserts a job request into the db cluster, redirects to a 'waiting page'. status is 'requested' a python daemon queries the db cluster every 5 seconds, pulling jobs to run through. status is 'processing' when the python daemon is done, it updates the status to

Re: mod_perl2 best practices interacting with non-apache apps

2007-06-21 Thread Perrin Harkins
On 6/20/07, Boysenberry Payne <[EMAIL PROTECTED]> wrote: Hello Everyone, I'm running a website building/management system (http:// habitatlife.com/) using an apache2/mod_perl2 via unix platform and want to run some time consuming processes without tying up my apache/mod_perl children. For simp

Re: Howto develop with modperl 2 ? (Restart Apache all the time ?)

2007-06-21 Thread Jens Helweg
That's what I've tried and how I determined that the reload does not seem to work. When I change something in my perl module it still doesn't take effect. Only when I restart Apache the changes apply. Now I'd wish to verify that the monitoring of my perl module is really done by the reload mod

Re: Howto develop with modperl 2 ? (Restart Apache all the time ?)

2007-06-21 Thread Lionel MARTIN
Yes, easily. In any of your handler, you make a reference to one test module. For example, in your response handler: use myModule(); use Apache2::Const -compile => qw(OK); sub handler { myModule::printHello(); return Apache2::Const::OK; } 1; And then: myModule.pm: sub printHello { print

Re: Howto develop with modperl 2 ? (Restart Apache all the time ?)

2007-06-21 Thread Jens Helweg
Thank you. I really missed the second ':'. Now it's not complaining anymore but the reload still doesn't work... Is there a way to verify that the Reload module has been loaded and that is works at all ? Sean Davis wrote: Jens Helweg wrote: Thanks Linonel, Jonathan. I have added this to my