Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: POSIX::strftime behaving differently in different scripts.

by Corion (Patriarch)
on Apr 03, 2014 at 12:15 UTC ( #1080937=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1080937]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2023-11-30 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?