in reply to Re: Is setting $ENV{'NLS_LANG'} deprecated?
in thread Is setting $ENV{'NLS_LANG'} deprecated?

Locutus, I suspect perl -MDBD::Oracle -e 'print "$DBD::Oracle::VERSION\n"' failed because your environment wasn't set. Can you try:
#!/bin/csh # NOTE: '...' is a placeholder for one or more levels of sub setenv ORACLE_HOME "/.../oracle/product/920" setenv LD_LIBRARY_PATH $ORACLE_HOME/lib32:/usr/lib:/usr/ucb/lib setenv ORA_NLS33 $ORACLE_HOME/ocommon/nls/admin/data setenv NLS_LANG AMERICAN_AMERICA.AL32UTF8 setenv LD_PRELOAD /usr/lib/libthread.so.1 perl -MDBD::Oracle -e 'print "$DBD::Oracle::VERSION\n"'
and give us the versions of DBD::Oracle in both environments?

Replies are listed 'Best First'.
Re^3: Is setting $ENV{'NLS_LANG'} deprecated?
by Locutus (Beadle) on Feb 17, 2009 at 14:59 UTC
    Hi cmdrake,

    first of all I'd like to apologize for letting you wait that long for a response - Christmas holidays and several new projects starting with the begin of 2009 drew off my attention and made me forget about the really interesting things, sorry!

    Indeed, printing the version of DBD::Oracle failed due to the missing environment. Thanks for the hint. And here are, finally, the results of your csh script:

    • Perl 5.6.1 uses version 1.15 of DBD::Oracle while
    • Perl 5.8.6 uses version 1.20.
    A little but significant difference?

    Best regards
    Locutus