in reply to Re^3: Impact of U.S. Daylight Savings Time changes in 2007 on Perl distribution/code
in thread Impact of U.S. Daylight Savings Time changes in 2007 on Perl distribution/code

As a sysadmin who is examining a large number of Unix systems (around 1500) and other systems across a medium size enterprise, to determine what Unix patches need to be applied for the OS and Java, what steps would need to be taken for perl to be updated appropriately with the latest Date/Time and Olson TZ database? Are there tools in the perl world for this to be done on a wide scale (many hosts) with efficiency (as little manual repetition as possible)? Please reply to this forum. Directions to more appropriate forums or resources are welcome. thanks. -Jim
  • Comment on Re^4: Impact of U.S. Daylight Savings Time changes in 2007 on Perl distribution/code

Replies are listed 'Best First'.
Re^5: Impact of U.S. Daylight Savings Time changes in 2007 on Perl distribution/code
by Bill_N1VUX (Initiate) on Jan 23, 2007 at 04:51 UTC
    The typical perl install might not include DateTime::TimeZone, it's not in Core library. If your users are using it, they need to update it. If you've included it in a local standard site_perl library, you need to update it.

    As described above and in parallel threads Daylight Saving, Daylight Savings, most Perl installs will be fine once you have patched the OS which should update the Olson TZ/zoneinfo file that localtime(3) and thus Perl's localtime() use. Sometimes this patches libc, sometimes /usr/share/.../zoneinfo/*, but either way it's updating an Olson TZ file aka zoneinfo.

    HP Support Forums have a dst.pl script that uses Perl's localtime() to determine if Zonefile is correct or not. However, I've found it to not work on RHEL3 with Perl 5.8.0.

    I'm suspecting that Perl from the RPM was built with GCC2 (glibc2.0, 2.3.2) while rest of RHEL3 is GCC3 (323). So there may be a stealth glibc2 whose stealth Olson needs refresh on my RHEL3. I was hoping someone here would have the answer to that instead of my bringing answers.