- or download this
sub AddToUserArray {
my ($UserID) = @_; # Like this because it scales well for many par
+ams
...
push @Participants, $UserID;
return; # Generally better to return undef than 0
}
- or download this
use strict;
use warnings;
...
Annie Red Team
Lee Green Team
Steve Green Team
- or download this
next if ! defined ($name) || exists $Participants{$name};
$Participants{$name} = $tail;