in reply to Re: My, subroutines, scope, and CGI – Why can I see a private (my) variable in a subroutine but it doesn’t get updated?
in thread My, subroutines, scope, and CGI – Why can I see a private (my) variable in a subroutine but it doesn’t get updated?

Ahhhh...good explanation and thank you for those solutions. I'm very new to this, so I don't really know anything about mod_perl, Apache::Registry and Apache::PerlRun, but those should be easy search terms to look up. Also, I have the -w flag in my !# line, but I'm not sure where those warnings would be showing themselves. Maybe in this error log people keep mentioning? Looks like I need to research that as well.

Thanks.

  • Comment on Re^2: My, subroutines, scope, and CGI – Why can I see a private (my) variable in a subroutine but it doesn’t get updated?

Replies are listed 'Best First'.
Re^3: My, subroutines, scope, and CGI – Why can I see a private (my) variable in a subroutine but it doesn’t get updated?
by Joost (Canon) on Apr 25, 2007 at 20:31 UTC
    Should be in the error log, yes :-) Where the log is is dependent on your apache configuration.

    Where your apache configuration is, is dependent on your apache startup scripts/system configuration. On my system (debian) it's in /etc/apache/httpd.conf. Look for the "ErrorLog" line. On my system the error log is in /var/log/apache/error.log

Re^3: My, subroutines, scope, and CGI – Why can I see a private (my) variable in a subroutine but it doesn’t get updated?
by naikonta (Curate) on Apr 26, 2007 at 02:38 UTC
    I have the -w flag in my !# line
    The shebang is not recognized in your system, it's merely treated as comment. (from LP on Win32)

    Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!