it was quite rude. anyway lets say if i have to display the contents of array using insert method. if i just type : $t->insert("end", "@arr1"); then surely , it will print the contents of array but on the same line
i need to print the contents of array on separate line , so , i thought , i should write one function where i will print the contents of array on each line and call that function from insert method please suggest regards irfan ________________________________ From: John SJ Anderson <geneh...@genehack.org> To: "beginners@perl.org" <beginners@perl.org> Sent: Thursday, August 23, 2012 10:54 PM Subject: Re: insert in perl tk On Thursday, August 23, 2012 at 10:15 AM, Irfan Sayed wrote: > can someone please suggest ? > Explain what you're actually trying to achieve, instead of asking how to do what you think will let you accomplish what you're trying to achieve. Yes, if you write the insert() method properly, you could certainly pass it those two arguments and have it call the second one (you don't need to quote the function reference, however). BUT I can't think of a good reason why you'd want to do that, so you need to explain what you're actually trying to do, because what you're asking about looks really silly. Also, 6.5 hours is not a terribly long time to wait for an answer on this list. Please be more patient in the future before sending additional traffic. j.