Patterns::UndefObject::maybe - Install a 'maybe' top lwvel package
use Patterns::UndefObject::maybe; my $name = $user_rs->maybe::find(100)->name || 'Unknown Username';
See Patterns::UndefObject for project details. This package does everything that those documents describe, but instead if doing it via an importable method (Maybe) or via a factory method, it installs a top level 'maybe' namespace. You may find this approach more appealoing, or you might find it to be a namespace polluter. You decide.