in reply to perl script eats all my PC memory...
The code doesn't compile, and use strict; is commented out (because the code is full of strict 'vars' violations). You've also not provided sample input, and haven't mentioned what part of the code is running out of memory. Formatting is sloppy. Those are all things you could fix or do to make it easier for us to provide a useful answer.
Dave
|
|---|