Help for this page

Select Code to Download


  1. or download this
      my $hash = {
        key1 => 'value1',
    ...
      };
    
      my ($hash1, $hash2) = _insert_perl_magic_;
    
  2. or download this
        my @hashes = map { {$_ => $hash->{$_}} } qw(key1 key2);
        my ($hash1, $hash2) = @hashes;