Help for this page

Select Code to Download


  1. or download this
        my %hash1 = ( );  # %hash1 is a normal hash (note the '%' prefix)
        $hash1{$name} -> {'uid'}     = $uid;
        $hash1{$name} -> {'gid'}     = $gid;
        $hash1{$name} -> {'gecos'} = $gecos;
    
  2. or download this
        my $hash1 = { };  # $hash1 is a hash reference (note the '$' prefi
    +x)
        $hash1 -> {$name} -> {'uid'}     = $uid;
        $hash1 -> {$name} -> {'gid'}     = $gid;
        $hash1 -> {$name} -> {'gecos'} = $gecos;
    
  3. or download this
    $VAR1 = {
              'jblow' => {
    ...
                                       }
                           }
            };
    
  4. or download this
    $VAR1 = {
              'jblow' => {
    ...
                                       }
                           }
            };