Why not use Contextual::Return so that you control what to return based upon whether it is being used a LIST or SCALAR context?
In reply to Re: RFC: User subroutine hinting interface for autodie
by Herkum
in thread RFC: User subroutine hinting interface for autodie
by pjf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |