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";'
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (293 votes). Check out past polls.