in reply to Re^4: Printing an array using while loop
in thread Printing an array using while loop

Why join? If you're already generating the array elements with a terminating newline, why not just:

c:\@Work\Perl\monks>perl -wMstrict -e "my @ra = (qq{bat\n}, qq{ball\n}, qq{glove\n}); print @ra; " bat ball glove


Give a man a fish:  <%-{-{-{-<