you have to add a "\n" between the 2 elements in the array.


On Jul 20, 2006, at 9:51 AM, Sayed, Irfan ((Irfan)) wrote:

Hi,

I have written following line. but i am getting error

my @test  = ("/test" , "/playground");
print @test;

i am getting output as follows

/test/playground

i need the output in following fasion

/test
/playground

can you please tell me what is wrong?

Regards
Irfan.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to