Re: Can't return outside a subroutine, <SOCKET> line 138.

[prev] [thread] [next] [Date index for 2005/03/17]

From: Stas Bekman
Subject: Re: Can't return outside a subroutine, <SOCKET> line 138.
Date: 02:01 on 17 Mar 2005
Tom Schindl wrote:
> jet wrote:
> 
>> i'm losing my mind here;
>>
>> to protect the client, i am 're-naming' the module names for 
>> confidentiality, but I have a seriously weird problem that is not 
>> adding up to anything intuitive for me at all.
>>
>> We have a foundation module that deals with interacting with our 
>> databases... higher level modules then base themselves off this 
>> foundation,. which provides functionalities such as ->select, ->new, 
>> ->save, ->update, ->find ...
>>
>> well, we've recently upgraded servers and moved towards apache2/modperl2
>>
>> more precisely:
>>
>> httpd-2.0.52-9.ent
>> mod_perl-1.99_16-4
> 
> 
> 
> I'd say that you should upgrade mod_perl to the latest and greatest and 
> look if the problem goes away.

If the problem persists after the upgrade, please try to minimise the 
module to a very minimum so we can see the whole picture. Is it an anon 
sub by chance?

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

ANNOUNCE: Embperl 2.0rc3
Gerald Richter 05:10 on 15 Mar 2005

Re: Can't return outside a subroutine, <SOCKET> line 138.
Stas Bekman 02:01 on 17 Mar 2005

Generated at 11:30 on 21 Mar 2005 by mariachi v0.52