467,179 Members | 1,197 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,179 developers. It's quick & easy.

array/text area problem

i have array with values.i want to insert this array into text area one per line.up to now my code is............

Expand|Select|Wrap|Line Numbers
  1. my @res=[@res1,@res2];
  2. my $tx->insert('end', @res);
text area display this result in same line.i want to display it value per line.

after run it will displayed in text area as follows..

0x001635749100 0x000bcd1d4691 0x000c29a59daa (@res contains this 3 mac addresses )

but i want to displayed it in text area in as follows


pls any help..........
Oct 16 '08 #1
  • viewed: 1749
2 Replies
Expert 256MB
Expand|Select|Wrap|Line Numbers
  1. $tx->insert('end', "$_\n") foreach(@res);
Oct 16 '08 #2
Expand|Select|Wrap|Line Numbers
  1. $tx->insert('end', "$_\n") foreach(@res);

thanks brother,it didn t work but i found a way to do that.thanks for your great time
Oct 21 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by KellyH | last post: by
9 posts views Thread by pvinodhkumar@gmail.com | last post: by
4 posts views Thread by Simon Schaap | last post: by
reply views Thread by helldiversafe-news@yahoo.de | last post: by
22 posts views Thread by guitarromantic@gmail.com | last post: by
7 posts views Thread by s88 | last post: by
5 posts views Thread by fluk@tluk.it | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.