One memory & speed saving is using global VARS, I know it is not recomended practice, but if from the begining of the project u set a convention what are the names of global vars it is ok..F.e. I'm using in all DB pages at the begining :
our $dbh = dbConnect() or dbiError(); See I know (i'm sure) that when I use DB I will always initialize the var. One other example is (ASP.pm): our $userID = $$Session{userID}; my $something = $$Request{Params}{something} This is not saving me memory, but shorten my typewriting especialy if it is used frequently or if I need to change FORM-param from "something" to "anything"..etc.. I think in mod_perl world we are about to search MEMORY optimisation RATHER speed optimisation... :") raptor [EMAIL PROTECTED]