Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

lorn's scratchpad

by lorn (Monk)
on Nov 18, 2005 at 20:30 UTC ( #509943=scratchpad: print w/replies, xml ) Need Help??

# test oracle connection with DBI

use strict; use warnings; use DBI; my $host = ''; my $driver = 'Oracle'; my $database = 'ORCL'; my $username = 'USER'; my $password = 'PASS'; my $dbh = DBI->connect("dbi:Oracle:host=$host;sid=$database", $usernam +e, $password, {RaiseError => 1, AutoCommit => 0});

# a simple telnet client with SMTP server

use strict; use warnings; use Net::Telnet (); my $t = new Net::Telnet (Timeout => 10, Port => 25); $t->open(""); my $foo = $t->getline; print $foo; $t->print("HELO darkstar"); $foo = $t->getline; print $foo;
Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2016-10-28 23:04 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.