Help for this page

Select Code to Download


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