o.k., so I'm an idiot...

  DB<5> p $DBD::Oracle::VERSION
1.12


Expirament: try the code w/in the program and bare w/in the
debugger. Works in perl -d, fails in the #! code. Double-
checked, I'm using the same code from my prompt as the #!.

$ perl -d ./test-parms;

<snip>

  DB<4> x @dbargz
0  'dbi:Oracle:host=dsstransform;sid=PROD01'
1  ''
2  ''

  DB<6> x DBI->connect( 'dbi:Oracle:host=dsstransform;sid=PROD01', '', '' )  
Modification of a read-only value attempted at
/opt/perl5/lib/site_perl/5.6.1/sun4-solaris/DBD/Oracle.pm line 153.



autosys@dssdepot:schedules $ perl -d -e 0

  DB<1> use DBI

  DB<2> use DBD::Oracle

  DB<3> x DBI->connect( 'dbi:Oracle:host=dsstransform;sid=PROD01','','')
0  DBI::db=HASH(0x3c0ddc)
     empty hash
  DB<4> 
  DB<5> p $DBD::Oracle::VERSION
1.12




--
Steven Lembark                              2930 W. Palmer
Workhorse Computing                      Chicago, IL 60647
                                           +1 800 762 1582

Reply via email to