On Thursday 25 October 2007 11:03, [EMAIL PROTECTED] wrote: > Hi Hello, Please do not top-post, TIA.
> This will do what you want:- > > perl -le '@test=(1,2,3,4,5);print join "\n",@test;' > > The -l option ensures a final newline after the last element of the > array is printed. The order of the options is important as changing > it to "el" wouldn't work. If you are going to use the -l switch then just do: print for @test :-) John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/