Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by Limbic~Region (Chancellor)
on Apr 03, 2014 at 12:17 UTC ( [id://1080938]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2026-03-16 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.