Help for this page
sub first (&@) { my $code = shift; ... undef; }
# first defined value in @list $foo = first { defined($_) } @list;