in reply to How to detect a returns value gracefully
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.
|
|---|