Re: Multiple documents/files with same subroutine name

2017-08-01 Thread Perrin Harkins
Hmm, that's not expected behavior with the code you're showing here. Are you running this under ModPerl::Registry? It's supposed to generate a unique package name for every file that prevents subs from colliding. There are some things to watch out for when using subroutines in code you run under

Log and special characters

2017-08-01 Thread Ben RUBSON
Hi, The following UTF-8 : warn("warn with special char ééèè"); $r->log->error("log with special char ééèè"); Produces : warn with special char ééèè at ... [Tue Aug 01 19:25:28.914947 2017] [perl:error] [pid 56938] [client 127.0.0.1:59952] log with special char \xc3\xa9\xc3\xa9\xc3\xa8\xc3\xa8

Re: Multiple documents/files with same subroutine name

2017-08-01 Thread Ruben Safir
On 08/01/2017 12:45 PM, John Gigawatt wrote: > * Is there a way, when defining "sub testSub" to force it to be locally > scoped? I believe the equivalent with variable is to say "our" rather than > "my"... but not sure how that would happen here. do you know what package scopes are? -- So

Re: Multiple documents/files with same subroutine name

2017-08-01 Thread Ruben Safir
On 08/01/2017 12:45 PM, John Gigawatt wrote: > One solution obviously has been to make sure I have a custom name for every > subroutine... but that can get messy to maintain and is not perfect. Johnie Giggawatt? give me a break -- So many immigrant groups have swept through our town that

Multiple documents/files with same subroutine name

2017-08-01 Thread John Gigawatt
Hi, I have a question on the best way to handle having multiple "web pages" having a subroutine with the same name in it. I apologize in advance if I use the wrong terminology. I know there are issues with library modules (use, etc) and also global variables. I am assuming this is similar but

Re: [Slightly OT] Apache::AuthCookie and mod_perl version 1.x

2017-08-01 Thread tomcat
On 01.08.2017 03:14, 风河 wrote: Most are mobile App interfaces. And, just by curiosity : do you use any kind of authentication with these apps, and if yes which kind ? On Tue, Aug 1, 2017, at 09:07 AM, Jie Gao wrote: * 风河 wrote: Date: Tue, 1 Aug 2017 08:57:29 +0800