Windows 版 Perl で Oracle に接続をする

Perl で必要なモジュール

Oracle 側で必要なモジュール

途中であきらめた…

下記のエラーにどう対処すればよいのかわからなかった。

C:\>perl -MDBI -e "$h=DBI->connect(qw(dbi:Oracle:host=192.168.1.2;sid=sidname username password))"
DBI connect('host=192.168.1.2;sid=sidname','username',...) failed: ERROR OCINlsEnvironmentVariableGet(OCI_NLS_CHARSET_ID) Check ORACLE_HOME and NLS settings etc. at -e line 1