Help for this page

Select Code to Download


  1. or download this
      (map {$self->{$_}} qw|uno dos tres|) = qw|some three values|;
    # Gives syntax error:
    #   Can't modify map iterator in list assignment
    
  2. or download this
    for zip(qw|uno dos tres|; qw|some three values|) -> $k, $v {
        $self->{$k} = $v;
    }