in reply to DBD Oracle doesn't login?

because you are using q{}. q{} behaves like single quotes, so those $password and $username in there aren't the variables but the strings \$password and \$username.

Try qq{}, and see if that makes a difference.

Jasper