Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Month Dates

by Thelonius (Priest)
on Mar 02, 2007 at 13:26 UTC ( #602873=note: print w/replies, xml ) Need Help??

in reply to Month Dates

use Time::localtime; my $tm = localtime; my $this_month = sprintf("%04d%02d?", $tm->year+1900, ($tm->mon)+1); my $last_month = ($tm->mon == 0) ? sprintf("%04d12?", $tm->year+1899) : sprintf("%04d%02d?", $tm->year+1900, $tm->mon);

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://602873]
[marioroy]: The MCE::Hobo::Pool module will come later.
[Corion]: marioroy: Oh, that's always cool, having API-compatible modules. This makes testing and comparing things much easier
[marioroy]: IPC in MCE::Shared can handle 400k (sends) per second. That's seems a lot for being a pure-Perl module. After making the release, will come back and post a solution for a node by a fellow wanting faster logging.
[Corion]: While working on WWW::Mechanize:: Chrome, I had the suspicion that AnyEvent was doing something wrong, but I was able to swap it out for Mojolicious and the error persisted.
[Corion]: Of course, the error was in my own code ;)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2017-05-26 08:34 GMT
Find Nodes?
    Voting Booth?