Clang::CastXML::Wrapper::Result - The result of a Clang::CastXML::Wrapper run
version 0.02
use Clang::CastXML::Wrapper; my $wrapper = Clang::CastXML::Wrapper->new; my $result = $wrapper->raw('--version');
This class represents the result of running CastXML.
my $wrapper = $result->wrapper;
Returns the Clang::CastXML::Wrapper which ran CastXML.
my @args = $result->args->@*;
Returns the arguments passed to CastXML.
my $out = $result->out;
Returns the standard output.
my $err = $result->err;
Returns the standard error.
my $ret = $result->ret;
Returns the command return value.
my $sig = $result->sig;
Returns the signal that killed the process, if any. If not killed by signal, this will be zero.
my $bool = $result->is_success;
Returns true if the run was successful. That is, if both ret
and sig
are zero.
Clang::CastXML, Clang::CastXML::Wrapper
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2020 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.