Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^2: mod_perl : Couldnt load

by vc_will_do (Sexton)
on Aug 29, 2007 at 16:06 UTC ( #635833=note: print w/replies, xml ) Need Help??

in reply to Re: mod_perl : Couldnt load
in thread mod_perl : Couldnt load

Thanks for your time. Now my looks like

#!/usr/bin/perl BEGIN { use Apache::DBI; } $dbh = Apache::DBI->connect_on_init("DBI:mysql:database=dbname;host=lo +calhost","dbuser","dbpass",{ PrintError => 1, RaiseError => 0, AutoCo +mmit => 1}); 1;
Still have same error - " was not loaded". I have installed mod_perl from today and Apache::DBI from CPAN. So I thing both are latest packages.

Replies are listed 'Best First'.
Re^3: mod_perl : Couldnt load
by chargrill (Parson) on Aug 29, 2007 at 16:53 UTC

    At the top of my file, I have:

    BEGIN { use Apache(); # ... }

    Seems I was steering you wrong, thinking you hadn't installed mod_perl yet.

    s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)
      You don't need to load Apache. mod_perl does it already.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2023-06-07 08:27 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (29 votes). Check out past polls.