On Feb 22, 2004, at 9:31 PM, Rocco Caputo wrote:
...
Thinking things through, it also allows POE::Kernel to possibly export
functions that look and feel like built-ins.  So we get the
possibility of a fourth idiom:

use POE::Kernel qw(delay);

delay(...);

This idea squicks me out, but I figured I should mention it.

Something kind of similar:


use POE qw( KERNEL );

KERNEL->delay( ... );

makes for very readable code when using singletons.

(ducks back into the bushes)

Chris

--
Chris Winters
Creating enterprise-capable snack systems since 1988



Reply via email to