use List::MoreUtils qw (mesh); my @stuff = mesh @hosts, @IPs;. If you like you can call it zip instead. Variatio delectat. Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help
In reply to Re: Join 2 arrays horizontally
by karlgoethebier
in thread Join 2 arrays horizontally
by perl_5eeker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |