At 06:52 PM 2/23/04, Rocco Caputo wrote: >> > So someone unclear on the $_[KERNEL] concept needed some help with it >> > on IRC. They wanted to call a function that set a delay in the >> > current session, but they didn't understand that $_[KERNEL] is a >> > reference to an object (a singleton) and didn't magically appear in >> > called subroutines.
Singleton is an implementation detail. Hide it behind a provider interface and no-one need know the cardinality. ($_[KERNEL] is a fine, perl-concise way to do this, BTW). TW PS Wherezat [POE] tag on the subject line?? :>