passed db connection info to perl