http://www.perlmonks.org?node_id=1186458


in reply to Re^4: How to pass hash site variables into sql connection using perl?
in thread How to pass hash site variables into sql connection using perl?

The error is because you have added another level 'current' into the hash here

$site_map{$s}{'current'}{user},$site_map{$s}{'current'}{pw}

Why ?