Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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
Node Status?
node history
Node Type: note [id://1080938]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2018-07-22 20:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (455 votes). Check out past polls.

    Notices?