- or download this
my %h;
...
for my $k (keys(%h)) {
print("$k: ", join(', ', @{ $h{$k} }), "\n");
}
- or download this
kate
dan
...
doug.smith
test
^Z
- or download this
print "Enter names of user to add:\n";
chomp( my @users = map lc, <> );
...
fore my $i (0..$#users) {
$adds{$users[$i]} = qx(ls /home/$exusers[$i]/.bash_profile);
}
- or download this
kate doug.smith
dan test
^Z
- or download this
my %adds;
print "Enter new user and mirrored user pairs:\n";
...
my ($user, $exuser) = map lc, split;
$adds{$user} = qx(ls /home/$exuser/.bash_profile);
}