http://qs1969.pair.com?node_id=1080937


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

You don't show the relevant code. But as you talk of some mysterious Time::localtime - that routine is likely different from the "normal" CORE::localtime. Use the appropriate function for strftime.

Replies are listed 'Best First'.
Re^2: POSIX::strftime behaving differently in different scripts.
by techman2006 (Beadle) on Apr 03, 2014 at 12:20 UTC

    Actually script is quite big and later I figure out at that Time::locatime is overrides the core functions due to which error was reported.

    So now I am using POSIX::locatime and other stuff to use its functionality.

    Thanks.