- or download this
foreach (@getcert) {
$c = $_;
- or download this
foreach my $c (@getcert) {
- or download this
use List::MoreUtils qw( mesh );
my @users = qw( alice bob charlie );
my @ids = qw( 123 456 789 );
my %id_of = mesh @users, @ids;
# now $id_of{ 'alice' } == 123
- or download this
sub mesh (\@\@;\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\
+@\@\@) {
my $max = -1;
...
map { my $ix = $_; map $_->[$ix], @_; } 0..$max;
}