in reply to Parse and Summarise Big Brother logs
chomp(my $today = `date +%Y-%m-%d`);
How about strftime()?
use POSIX 'strftime';
print strftime '%Y-%m-%d', localtime();
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (365 votes). Check out past polls.