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

Spooky has asked for the wisdom of the Perl Monks concerning the following question:

I have two arrays (@ID @name) that I wish to print out on a single line e.g., 123 Smith 456 Doe 789 Allen etc. (as you can see, there's a number followed by a nsame). I know in FORTRAN (yes, FORTRAN) you could use an implied loop but I'm sure how to do this in Perl. Any suggestions?