Hi,

On 2007/02/26, at 10:12, John W. Krahn wrote:

print map "$_\n", @test;


print "$_\n" for @test;

Another solution is setting the $" variable:

my @array = qw(1 2 3 4 5);
{
    local $" = "\n";
    print "@array";
}

HTH!




--
Igor Sutton
[EMAIL PROTECTED]



Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to