Please read the DBD::Oracle docs 
http://search.cpan.org/~timb/DBD-Oracle-1.16/Oracle.pm

-----------------
Ron Reidy
Lead DBA
Array BioPharma, Inc.


-----Original Message-----
From: Hernan Arredondo [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 13, 2005 12:11 PM
To: [email protected]
Subject: New in DBI


Hi all, I'm new in DBI and I'm really stuck, some can explain me this code:

use DBI;

my $dbh = DBI->connect( 'dbi:Oracle:db',
                       '$username',
                       '$passwd',
                     ) or die "$DBI::errstr";
EOF

its supposed I get a connection with that ?

'dbi:Oracle:db' -> this is the driver and the database associated,
where I can config the host where the Oracle DB resides ?

Please excuse if my question is stupid but I search in the docs and
nothing about this is explained....

Hernan Dario A.

-- 
No matter how fast processors get,
software consistently finds new ways to eat up the extra speed

This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is 
intended 
to be for the use of the individual or entity named above. If you are not the 
intended recipient, please be aware that any disclosure, copying, distribution 
or use of the contents of this information is prohibited. Please notify the
sender  of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.

Reply via email to