- or download this
sub get_data {
...;
return; # undef in scalar context or the empty list in list conte
+xt
}
- or download this
sub get_data {
...;
return undef; # undef in scalar context and a one-item list conta
+ining undef in list context
}
- or download this
sub enable_warnings {
my $self = shift;
...
# We can do this:
my $result = $widget->enable_warnings->enable_errors->run_process;
- or download this
sub bleh {
return $result;
}
- or download this
sub bleh {
$result;
}