- 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;
- 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;
- or download this
$VAR1 = {
'jblow' => {
...
}
}
};
- or download this
$VAR1 = {
'jblow' => {
...
}
}
};