On Thu, 23 Aug 2012 10:51:09 -0700 (PDT)
Irfan Sayed <irfan_sayed2...@yahoo.com> wrote:

> 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

Do you mean you want each item from an array on each line? If so:

    $t->insert("end", join( "\n", @array ));

See `perldoc -f join` for details.


-- 
Just my 0.00000002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

        _Perl links_
official site   : http://www.perl.org/
beginners' help : http://learn.perl.org/faq/beginners.html
advance help    : http://perlmonks.org/
documentation   : http://perldoc.perl.org/
news            : http://perlsphere.net/
repository      : http://www.cpan.org/
blog            : http://blogs.perl.org/
regional groups : http://www.pm.org/

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to