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 R

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 ma

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 Brook