|
|
| No such thing as a small change | |
| PerlMonks |
Re: Re: Class::DBI - performing action on column before it is used or savedby duct_tape (Hermit) |
| on Dec 19, 2003 at 16:01 UTC ( [id://315919]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Instead of using the before_set_$column trigger, I found before_update to be what I needed. However, this still doesn't solve the problem 100%, as the search methods don't work with the triggers. :( I suppose I could create a method like decrypted_password in my class to deal with this. I was just hoping I could make it more transparent. Thanks for the reply. :) I will do some more thinking on the subject.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||