return defined(wantarray) ? wantarray ? () : undef : NOTHING;
Cheers - L~R
In reply to Re^2: Elegant way to return true or nothing from a subroutine?
by Limbic~Region
in thread Elegant way to return true or nothing from a subroutine?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |