in reply to Re: printing elements of an array on new lines
in thread printing elements of an array on new lines
Re this snippet:
print map {$_ .= "\n"} @array;As the OP is obviously a beginner, I believe that the proviso to this, namely that it changes @array (adding a newline to each element), should be clearly stated.
dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: printing elements of an array on new lines
by Limbic~Region (Chancellor) on Aug 23, 2003 at 19:57 UTC |