Perl: the Markov chain saw | |
PerlMonks |
Re: need to optimize my sub routineby hipowls (Curate) |
on Feb 19, 2008 at 22:35 UTC ( [id://668897]=note: print w/replies, xml ) | Need Help?? |
I'd move my $csv = Text::CSV_XS->new; to outside the loops. You don't need to create one for every line you read.
In Section
Seekers of Perl Wisdom
|
|