$host = "127.0.0.1"; # = "localhost", the server your are on.
The '#' is a comment - and it's states what $host means (although, I
would have wrote - "the server you wish to connect to").
The numbers are the IP address for the host. To change the host you
want to connect to, change the numbers to the proper IP address - or -
use the hostname of the server you wish to connect to.
Could post the ideal code for any database connection (and
particularly Oracle)
Install the DBD::Oracle module. HOWEVER, BEFORE you install the
module - READ the documentation FIRST. If you have questions specific
to how to use the module, then feel free to post them here -
otherwise, do not post non-Perl questions here.
HTH
Jim