Hm, I don't think the error is related to a difference in strictness between versions 5.8.0 and 5.8.2.  I just verified that with 5.8.0, the following snippet would have produced the same "bareword not allowed" error that later versions do produce:

use strict; my $v = DBI::SQL_DATE; # --> Bareword "DBI::SQL_DATE" not allowed wh +ile "strict subs" in use

while this is fine:

use strict; use DBI; my $v = DBI::SQL_DATE;

(because DBI::SQL_DATE is a constant defined in the DBI module)

In other words, I think your problem lies elsewhere. What's a bit weird is that the error is reported to be occurring in Time::Format ... a module dealing with an entirely different (not DBI related) problem domain. I looked at line 265 in the current version of the module: it's an eval { ... } setting up locale info via the module I18N::Langinfo — its possible relatedness to DBI stuff is escaping me at the moment :)

Could you post line 265 (plus some context above and below) of your /usr/opt/perl5/lib/5.8.2/aix-thread-multi/Time/Format.pm file, as well as line 6 (plus context) of NYSDOT/Config/IniFiles.pm?


In reply to Re: OS upgrade affecting perl causes all codes to abend by almut
in thread OS upgrade affecting perl causes all codes to abend by wtolentino

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.