The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

new

Takes

value_ref

A reference to the current value you're going to be massaging. encode works in place, massaging whatever value_ref refers to.

column

A Jifty::DBI::Column object, whatever sort of column we're working with here.

encode

encode takes data that users are handing to us and marshals it into a form suitable for sticking it in the database. This could be anything from flattening a DateTime object into an ISO date to making sure that data is utf8 clean.

decode

decode takes data that the database is handing back to us and gets it into a form that's OK to hand back to the user. This could be anything from flattening a DateTime object into an ISO date to making sure that data is utf8 clean.