in reply to How to find the last date of the previous month?
my $one_month_ago = DateTime->today->subtract(months => 1);
month => $one_month_ago->month,
year => $one_month_ago->year,
)->mdy . "\n";'
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (319 votes). Check out past polls.