| 1 | package AnyEvent::Subprocess::Done::Delegate::CaptureHandle; | ||
| 2 | 48 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 48 | $AnyEvent::Subprocess::Done::Delegate::CaptureHandle::VERSION = '1.102912'; | |
| 4 | } | ||
| 5 | # ABSTRACT: store the output generated by a handle while the process was running | ||
| 6 | |||
| 7 | 48 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 47 | with 'AnyEvent::Subprocess::Done::Delegate'; | |
| 10 | |||
| 11 | 47 | has 'output' => ( is => 'ro', isa => 'Str', required => 1 ); | |
| 12 | |||
| 13 | 47 | __PACKAGE__->meta->make_immutable; | |
| 14 | |||
| 15 | 47 | 1; | |
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | =pod | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | AnyEvent::Subprocess::Done::Delegate::CaptureHandle - store the output generated by a handle while the process was running | ||
| 24 | |||
| 25 | =head1 VERSION | ||
| 26 | |||
| 27 | version 1.102912 | ||
| 28 | |||
| 29 | =head1 ATTRIBUTES | ||
| 30 | |||
| 31 | =head2 output | ||
| 32 | |||
| 33 | The captured output, as a string. | ||
| 34 | |||
| 35 | =head1 AUTHOR | ||
| 36 | |||
| 37 | Jonathan Rockway <jrockway@cpan.org> | ||
| 38 | |||
| 39 | =head1 COPYRIGHT AND LICENSE | ||
| 40 | |||
| 41 | This software is copyright (c) 2011 by Jonathan Rockway. | ||
| 42 | |||
| 43 | This is free software; you can redistribute it and/or modify it under | ||
| 44 | the same terms as the Perl 5 programming language system itself. | ||
| 45 | |||
| 46 | =cut | ||
| 47 | |||
| 48 | |||
| 49 | __END__ | ||