Help for this page

Select Code to Download


  1. or download this
    $template->param(
      some_var => 10,
      (some_var => $hash{some_possibly_undefined_key}) x!! exists($hash{so
    +me_possibly_undefined_key}),
    );
    
  2. or download this
    $template->param(
      some_var => exists $hash{some_possibly_undefined_key} ? $hash{some_p
    +ossibly_undefined_key} : 10;
    );
    
  3. or download this
    {
       package MyTemplate;
    ...
           $self->SUPER::param(%p);
       }
    }