Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Perl Syntax - What's the difference?

by Your Mother (Bishop)
on Apr 09, 2018 at 12:20 UTC ( #1212578=note: print w/replies, xml ) Need Help??

in reply to Perl Syntax - What's the difference?

Corion is right. It's not a Perl syntax issue, it's configuration.

Probably it's one of two things. You regenerated your schema so you lost the custom code/config or you need to s/startdate/start_date/ in the inflation definition in your Result package matching the table that holds the column.

You are either using DBIx::Class::InflateColumn::DateTime to inflate the column or doing it a bit more manually with DBIx::Class::InflateColumn; the second option seems more likely because the column name is repeated. Use the docs against your own .pm file and you should be able to fix it easily.

Update: didn't see you'd worked it out before posting.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1212578]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2020-10-22 07:33 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (225 votes). Check out past polls.