Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

RE: Training wheels again

by merlyn (Sage)
on Sep 04, 2000 at 00:56 UTC ( #30947=note: print w/replies, xml ) Need Help??

in reply to Training wheels again

If you're using DBI, please use Apache::DBI. And yes, get away from that stopgap Apache::Registry!

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
RE: RE: Training wheels again
by le (Friar) on Sep 04, 2000 at 00:58 UTC
    Ooops, sorry, of course I used Apache::DBI, Version 0.87 :).

      What makes me curious is the difference you see when you stop using I realize this won't translate to the full-blown handler version of the script, but did you try loading via default in mod_perl, or did you have

      use CGI;
      in your script?

      "He's got about as much personality as a loaf of bread" -- Wally Pleasant, She's in love with a Geek

        Yeah, I would be interested in this too. Is being used from within a test script, or from You could also try only importing things like use CGI qw/:standard/. I believe has some magic code inside to help with memory when you do so, although I haven't perused the source in quite some time now. Either way, if is being preloaded I wouldn't think you would see as much of a hit, since it stays resident in memory and isn't loaded each time the script is called.


        No, I didn't preload, I just said "use CGI qw(:standard);".

        I did this because I wanted to measure the performance of a CGI script that's handed over to Apache::Registry.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2023-01-28 23:30 GMT
Find Nodes?
    Voting Booth?

    No recent polls found