in reply to can't use string as an array ref

Can you honestly expect an informed answer to this question without providing any information on what %server_list_hash contains? This is what Data::Dumper is for, or use the debugger to inspect the contents of variables just before the point of unexpected behavior. The former has the advantage that you could easily include that information in your post.

Dum Spiro Spero

Replies are listed 'Best First'.
Re^2: can't use string as an array ref
by LanX (Saint) on Mar 26, 2015 at 15:15 UTC