in reply to Re: arrays and dot operator
in thread arrays and dot operator

Or use:
#print "@array,\n"; print "@array\n";

This will print the array elements separated by the contents of $" (space by default), followed by the newline.

Update: Removed comma as indicated by vrk

Bill

Replies are listed 'Best First'.
Re^3: arrays and dot operator
by vrk (Chaplain) on Apr 06, 2017 at 12:05 UTC

    You have an extra comma there.