Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Re: Re: Apache::DBI, DBI, DBD::MySql and MySQL cache?

by Hero Zzyzzx (Curate)
on Mar 17, 2003 at 20:50 UTC ( #243789=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Apache::DBI, DBI, DBD::MySql and MySQL cache?
in thread Apache::DBI, DBI, DBD::MySql and MySQL cache?

I think you need to fix your code tags. . .And you're using package globals. Because these don't change between script invocations between

Read the CGI to mod_perl porting guide, specifically this part of it.

-Any sufficiently advanced technology is
indistinguishable from doubletalk.

  • Comment on Re: Re: Re: Re: Apache::DBI, DBI, DBD::MySql and MySQL cache?

Replies are listed 'Best First'.
Re^5_2: Apache::DBI, DBI, DBD::MySql and MySQL cache?
by Flame (Deacon) on Mar 17, 2003 at 21:42 UTC

    Code tags fixed... sorry. As for the package globals, I only use those for things that never change, I pass around the $state variable (which contains the ARGS, DBH and session info) to any subs I call that need to know what anything else is doing.





    My code doesn't have bugs, it just develops random features.

    Flame ~ Lead Programmer: GMS (DOWN) | GMS (DOWN)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://243789]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2023-09-27 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?