Using Apache::Test outside of a build environment?

2006-04-06 Thread Tyler MacDonald
I want to run system tests on my mod_perl2 handlers using Apache::Test after my application is installed. Ideally, I don't want any Makefile.PL / etc around, I'd rather just have the individual tests do their own setup and teardown. Has anybody else done this / got any tips? Thanks

Re: Mail::POP3Client and pdf decode

2006-04-06 Thread Perrin Harkins
On Thu, 2006-04-06 at 09:57 -0600, Charlie Smith wrote: > Not sure if this is the right list. If not please let me know correct list. This list if for discussion of mod_perl, not for general Perl questions. For general Perl help, see the resources listed here: http://perl.apache.org/docs/offsite/o

Re: Mail::POP3Client and pdf decode

2006-04-06 Thread JupiterHost.Net
Charlie Smith wrote: I'm trying to decode an email that was pop'd. After writing the body to a disk file using the perl Mail::POP3Client routine $pop->BodyToFile( $fh, 1); It looks all like text. So, I run following command to translate by "it looks all like text" do you mean its "like words

Mail::POP3Client and pdf decode

2006-04-06 Thread Charlie Smith
I'm trying to decode an email that was pop'd. After writing the body to a disk file using the perl Mail::POP3Client routine $pop->BodyToFile( $fh, 1); It looks all like text. So, I run following command to translate body of mime message back to pdf for reading. perl -MMIME::Base64 -ne 'print decod

Re: mod_perl 2.0 - redirect

2006-04-06 Thread Torsten Foertsch
On Thursday 06 April 2006 13:52, Graf László wrote: > $r->internal_redirect("/wimap/index.html"); you are redirecting to yourself. > return Apache2::Const::OK; > } > > 1; ... > >> LoadModule perl_module modules/mod_perl.so > >> PerlRequire /usr/local/apache2/conf/mod_perl/imap_start.pl > >> thi

Re: mod_perl 2.0 - redirect

2006-04-06 Thread Graf László
The module's source: #file:Wimap/Wimap.pm #-- package Wimap::Wimap; use strict; use warnings; use Apache2::Const -compile => qw(OK); use Apache2::Log; use Apache2::RequestIO (); use Apache2::RequestRec (); use Apache2::RequestUtil (); use Apache2::ServerRec (); use Apache2::

Re: mod_perl 2.0 - redirect

2006-04-06 Thread Sean Davis
I think it would help if you could give some more information (like how you are writing the index.html file). Some code? Sean On 4/6/06 7:32 AM, "Graf László" <[EMAIL PROTECTED]> wrote: > Hi all, > > I made a mod_perl 2.0 module that connects to an IMAP server, > retrieves the undeleted mails

mod_perl 2.0 - redirect

2006-04-06 Thread Graf László
Hi all, I made a mod_perl 2.0 module that connects to an IMAP server, retrieves the undeleted mails and generates HTML output. OK, it works fine. When I access 'http://localhost/wimap', the module generates the content and displays it. But what if I want to write the output into a file in the A