Charlie Farinella wrote:
I have a string of text that I want to split on the tabs:while (<INFILE>) { my @array = split(/\t/, $_); ...manipulate them a little, and print them back out like so: print "$array[0],$array[1],$array[2]"; etc. }I normally just print them as above, but I'm thinking there must be a better way. What's the most efficient way to print them all out?
Efficient in what way? Time? Space? Complexity? perldoc -q "How do I profile my Perl programs" perldoc -q "How can I make my Perl program run faster" perldoc -q "How can I make my Perl program take less memory" perldoc -q "How can I make my CGI script more efficient" perldoc -q "How do I do .anything." John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
