http://qs321.pair.com?node_id=1212571

Galdor has asked for the wisdom of the Perl Monks concerning the following question:

DBIC code used to work - using Moose, DBIC and DateTime (ymd(), and month_name()):
print $event->startdate->ymd(), " - ", $event->startdate->month_name() +;
and now the DB schema changed (underscore introduced in column names):
print $event->start_date->ymd(), " - ", $event->start_date->month_name +();
and now it does not:
Can't locate object method "ymd" via package "2008-08-18" (perhaps you + forgot to load "2008-08-18"?) at ./test-dbic-schema.pl line 50.
So what's the difference? Why should the underscore throw this out? What is the correct syntax/escaping for this stuff (Perl has kooki syntax sometimes)...