Subject: | WISHLIST - return data other than strings |
It would be nice to do something like the following:
sub foo {
...
my $dbh = DBI->connect(...);
return success data => $dbh;
}
I'd like to return something other than a string, but use a simpler calling style than
return Return::Value->new(
bool => 1,
data => $dbh,
);