Jonathan Rockway

NAME

AnyEvent::Subprocess::Job::Delegate::MonitorHandle - monitor a handle for input and invoke callbacks with that input

VERSION

version 1.102912

DESCRIPTION

Monitors a handle for input, and calls a list of coderefs when there is input. The coderefs get the input.

INITARGS

name

The name of the delegate that has the filehandle you want to monitor.

callbacks

ArrayRef[CodeRef]s to call with input.

when

'Line' to be called with each line, something else to be called whenever there is data in the read buffer.

METHODS

Don't call us, we'll call you.

AUTHOR

Jonathan Rockway <jrockway@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Jonathan Rockway.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.