NAME

Function::Return::Info - Information about return values

SYNOPSIS

use Function::Return;

sub foo :Return(Str, Int) {}

my $info = Function::Return::info \&foo;
my $types = $info->types; # [Str, Int]

DESCRIPTION

Function::Return::info returns objects of this class to describe return values of functions. The following methods are available:

new

Constructor of Function::Return::Info. This is usually called at Function::Return::info.

$info->types

Returns a list of type

SEE ALSO

Function::Return