[SearchBuilder-devel] Passing additional parameters to Record::AUTOLOAD

Jesse Vincent jesse at bestpractical.com
Tue May 24 18:15:13 EDT 2005




On Tue, May 24, 2005 at 05:37:32PM -0400, Todd Chapman wrote:
> I asked a variation of this question on rt-devel, but since
> I think the answer is a modification to SB, I thought I would
> rephrase it here.
> 
> I would like to be able to pass additional parameters to
> Record::AUTOLOAD so that when it calls $self->_Set
> my subclass can receive options such as RecordTransaction.

I think you probably want to overload AUTOLOAD. Especially given that
it's switching from positional params to named params.



More information about the SearchBuilder-devel mailing list