RE: MP1 -> MP2 migration Problems.

2008-02-15 Thread Petry Roman, IT
Hello Randy, Hello Perrin, 8-) thanks a lot for your help. I tried to apply the patch , but my compat.pm is a little bit different to the source patch i think. but no problem. i did a manual patch and only applied the namespace row. package Apache; in front ot the sub request { line nothing

[MP2][QUESTION]Apache::Handler usage with mod_perl

2008-02-15 Thread titetluc titetluc
Hello all, I would like to use attributes (Attribute::Handlers) in a mod_perl module. I defined my attribute: use Attribute::Handlers; sub Catch_error ATTR(CODE, BEGIN) { ... } My module uses this attribute: sub foo :Catch_error{ } But this does not work. I searched in the mod_perl mailing l

Re: handler using a module

2008-02-15 Thread Perrin Harkins
On Fri, Feb 15, 2008 at 12:16 PM, Raymond Wan <[EMAIL PROTECTED]> wrote: > I see. So if myOwnFunctions is used by many of my components, there is > no way to have it load once but used by all of the components? Yes, there is. Read the information in the Mason documentation about namespaces. T

Re: handler using a module

2008-02-15 Thread Raymond Wan
Hi Malcolm, Malcolm wrote: Mason uses it's own namespace for the code it generates from your templates. So unless you have a "use lib...; use myOwnFunctions;" in your template, it won't have your functions in scope. I see. So if myOwnFunctions is used by many of my components, there is

Re: handler using a module

2008-02-15 Thread Perrin Harkins
On Thu, Feb 14, 2008 at 10:40 AM, Malcolm <[EMAIL PROTECTED]> wrote: > Mason uses it's own namespace for the code it generates from your templates. > So unless you have a "use lib...; use myOwnFunctions;" in your template, it > won't have your functions in scope. I don't think that explains why

[JOB] London UK - mod_perl consultant required

2008-02-15 Thread Nick Challoner
Hi... I'm having trouble at work upgrading an existing mod_perl 1 installation to mod_perl 2. My predecessor set up the mod_perl 1 installation, so although I'm ok coding, I don't have the mod_perl installation/administration experience to upgrade (and no time to learn it sadly). I'm therefor

[ANNOUNCE] Krang V3.01

2008-02-15 Thread Jesse Erlbaum
Krang v3.01 Release: February 15, 2008 Release Summary This release adds many new, and often requested features. Krang now supports multiple windows, permitting users to edit more than one story at a time. A syntax-highlighting text editor has been added for editing templates and text-based m