You might want to check out DBD::Oracle. Found the following example lines of code from its documentation where the port number is specified:
$dbh = DBI->connect('dbi:Oracle:host=foobar;sid=ORCL port=1521', 'scot +t/tiger', '') $dbh = DBI->connect('dbi:Oracle:', q{scott/tiger@(DESCRIPTION=(ADDRESS +=(PROTOCOL=TCP)(HOST= foobar)(PORT=1521))(CONNECT_DATA=(SID=ORCL)))}, + "")
In reply to Re: DBI Connection with RAC
by dasgar
in thread DBI Connection with RAC
by asafp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |