I have a class DBI object called 'person' that I am passing into a template toolkit template.
So the following would work fine:
I am [% person.name %]
If I write the following statement, though, I am accidentally updating the person object in the database. I get a warning because I am updating the person record without doing a commit:
[% person.name = person.name _ ' PHD' %]
DB::Person DB::Person=HASH(0xe57cb0) destroyed with
out saving changes to name at...
Is there a way I can update the person.name variable without updating the database record?
CODE tags added by Arunbear