in reply to Oh wise Brothers where will you guide me now?

I'm overjoyed to see you put so much effort in improving your code. That's an excellent spirit, brother! ;-).

I have a couple suggestions regarding the code.

UPDATE 1: added comment on HTML::Template

UPDATE 2: Ahh, thanks UD13, I didn't notice you were already using CGI.pm. I guess, a point in case would be to pull all 'use foobar' statements at the top of your script. No use in keeping 'use ...' scattered about the script ;-)

UPDATE 3: fixed a few spelling 'bugs' thanks to c ;)

_____________________
$"=q;grep;;$,=q"grep";for(`find . -name ".saves*~"`){s;$/;;;/(.*-(\d+) +-.*)$/;$_=&#91"ps -e -o pid | "," $2 | "," -v "," "]`@$_`?{print" ++ $1"}:{print"- $1"}&&`rm $1`;print"\n";}