On Wed, 17 Sep 2003, Mark Fowler wrote:

> On Tue, 16 Sep 2003, Steve Purkis wrote:
> 
> That having been said, are you aware of Want?  If you want to do the above
> you can do something like this:
> 
>   use Want;
> 
>     if (want('OBJECT'))
>     {
>        $self->_set_foo($_[0]);
>        return $self
>     }

This is usually the point where performance hits the deck and Perl goes by 
the board. It's very nice indeed for hello-world sites with only a few 
thousand rows, but deployment rapidly brings with it 100,000 rows, and 
suddenly this package which we all tested so thoroughly falls on its arse.

I'm sure we've all met this before somewhere in a profiler.

S.

-- 
Shevek                                    http://www.anarres.org/
I am the Borg.                         http://www.gothnicity.org/

Reply via email to