-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Meng Weng Wong writes:
>I assume ->animate() will be called per-object so I don't have to worry
>about making the class animate all the instances?

Yeah -- just do that 1 object.  The caller could have decided that
object X is more important to get fast responses for than object Y,
for example.

Note that animate() doesn't busy-wait; it just checks to see if a resopnse
has come in, and if it has it acts on it, potentially firing off another
query or two.   So getting the caller to use 

        foreach my $obj (@all_spf_objs) {
          $obj->animate();
        }

is pretty much the same in terms of logic and speed anyway. ;)

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Exmh CVS

iD8DBQE/nXIOQTcbUG5Y7woRAtSJAJ46bBhkFQvuwbJNEVVBsp2mwCQKaACeOYjt
nYcdLl9qMQPf7mV0TKk3Cw0=
=73dw
-----END PGP SIGNATURE-----

Reply via email to