in reply to POSIX::strftime behaving differently in different scripts.

techman2006,
The Friendly Manual for Time::Localtime:

This module's default exports override the core localtime() function, replacing it with a version that returns "Time::tm"

The reason it is not working is because you are not passing strftime() the results of the perl built-in localtime()

Cheers - L~R

  • Comment on Re: POSIX::strftime behaving differently in different scripts.