in reply to Specifying Variable SID in DBD::Oracle

You are single-quoting dbi:Oracle:$sid so that the variable is not being interpolated. Use double-quotes instead.

Impossible Robot