http://qs321.pair.com?node_id=733473


in reply to printing arrays

There are several ways:
use List::MoreUtils qw/mesh/; print join ' ', mesh @ID, @name;
or
# you lose the order and every id must be unique my %h; @h{@ID} = @name ; print join ' ', %h;
or ...
Boris