On Mon, Jan 31, 2000 at 05:38:20PM -0500, [EMAIL PROTECTED] wrote:
> >> >>>>> "JNP" == Joshua N Pritikin <[EMAIL PROTECTED]> writes:
> >>
> JNP> + * If parked=>0 then the constructor will not invoke
> JNP> + $watcher->start(). ([EMAIL PROTECTED])
> >>
>
> i haven't downloaded .61 yet but i just looked at the comment
> above. shouldn't parked be true so you don't start it? or are you doing
> a boolean exists( parked ) test where the value doesn't matter? it
> doesn't matter which as long as it is documented accurately. i will be
> testing this feature soon as i am calling ->stop() after creating write
> events and this will eliminate the extra call.
Oops. The ChangeLog is wrong. Yes, parked=>1 is the correct option. At
least the pod file is correct:
=item parked => $yes
By default, watcher constructors automatically invoke the C<start()>
method. If you don't want the watcher started then request
C<parked=>1>.
--
"Never ascribe to malice that which can be explained by stupidity."
via, but not speaking for Deutsche Bank