There's also the Damian module Contextual::Return which lets you return a magical value that behaves differently when used as different types of values (and yes, it's OK for general use).
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: How to detect a returns value gracefully
by Fletch
in thread How to detect a returns value gracefully
by RatKing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |