CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: DBI: Re: [amy1000] DBI::Proxy for remote Oracle Database -error: Edit Log



FishMonger
Veteran / Moderator

Jan 12, 2009, 9:42 AM


Views: 4315
Re: [amy1000] DBI::Proxy for remote Oracle Database -error

What were the problems while installing the DBI::Proxy modules? They very well could be the cause of your error.

Do you really need to use the proxy?
Have you tried using DBD::Oracle?
http://search.cpan.org/author/PYTHIAN/DBD-Oracle-1.22/Oracle.pm

Some side notes on your code:
1) Group all of your use statements together at the beginning of the script and you should add the warnings pragma.

2) Using a here doc for a single line of output is odd.

3) require "cgi-lib.pl"; is depreciated, instead you should be using the methods in CGI module.

4) The font tag is also depreciated, instead use css
http://www.w3schools.com/CSS/css_howto.asp

5) Since you're loading warningsToBrowser in the use statement, you also need to enable it after outputting the header.


Code
print header(); 
warningsToBrowser(1);

print h3({-style=>'Color: #D02090;'}, 'Model:'),
h4('Rules for CDC Families');



(This post was edited by FishMonger on Jan 12, 2009, 9:42 AM)


Edit Log:
Post edited by FishMonger (Veteran) on Jan 12, 2009, 9:42 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives