in reply to Hash usage

Putting use strict in your program would have helped you to find the problem. You put your data into %db_processes, but then try to retrieve it from an array called @db_processes which doesn't exist.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg