Capture::Attribute::Return - the result of a "return" statement
This is an Any::Moose class. Hopefully you'll never need to use it.
Indicates whether the returned value was the result of a function call in "wantarray" mode or not.
false or undef.
wantarray in perlfunc.
The return value,
wasarray is true,
then a reference to an array containing the list of returned values.
Slightly nicer than fiddling with checking the definedness and truthiness of
This class overloads array and scalar dereferencing.
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Capture-Attribute.
Toby Inkster <email@example.com>.
This software is copyright (c) 2012 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.