return $_[0] ? undef : 'hello'; # or: return 'hello' unless $_[0]; return;