At 03:04 PM 9/4/2001 -0400, Uri Guttman wrote:
>for sure. one case i saw recently in c.l.p.m was someone who wanted to
>chain method calls together like this:
>
>         $obj->meth1()->meth2() ;
>
>this is easy assuming you return the object in each method call. but he
>ALSO wanted:
>
>         $bar = $obj->meth1() ;
>
>to return something other than $obj.

Ah. I've always wanted to do that with tied hashes. Okay, even more reason 
to pass the data in! (We're going to end up with a WANT register by the 
time we're done...)

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to