Help for this page

Select Code to Download


  1. or download this
    sub get_params {
      my $self = shift;
    ...
      # or a list of key=>values pairs if they call us in list context.
      return wantarray ? %input : \%input;
    }
    
  2. or download this
      die "get_params in void context:".Dumper(\%input) unless defined wan
    +tarray;