Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by Limbic~Region (Chancellor)
on Apr 03, 2014 at 12:17 UTC ( #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 meditating upon the Monastery: (5)
As of 2023-12-05 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (25 votes). Check out past polls.

    Notices?