in reply to Suggestions for optimizing this code...
Look at join for turning the array back into a single string.@test = split /(?=\n)/, $rec;
From the code you post, there's no reason to declare $rec a second time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Suggestions for optimizing this code...
by NeilF (Sexton) on Jan 17, 2006 at 10:22 UTC | |
by Aristotle (Chancellor) on Jan 17, 2006 at 11:11 UTC | |
|
Re^2: Suggestions for optimizing this code...
by NeilF (Sexton) on Jan 17, 2006 at 16:42 UTC |