| Egg-Release documentation | view source | Contained in the Egg-Release distribution. |
Egg::Util::STDIO - Module to use IO::Scalar easily.
use Egg::Util::STDIO;
my $res= Egg::Util::STDIO->out(0, sub {
print "Hellow";
});
print $res->result;
IO::Scalar It is a module to use it for easy.
STDOUT is obtained and the Egg::Util::STDIO::result object is returned.
It is not especially necessary though the thing that the object of the project is passed is assumed to CONTEXT.
CODE_REF is always necessary.
STDIN is obtained and the Egg::Util::STDIO::result object is returned.
It is not especially necessary though the thing that the object of the project is passed is assumed to CONTEXT.
CODE_REF is always necessary.
Constructor.
The obtained data is returned.
When the error occurs, the message is returned.
Masatoshi Mizuno <lushe&64;cpan.org>
Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
| Egg-Release documentation | view source | Contained in the Egg-Release distribution. |