With scripts that connect to the database, I use externally identified users. Restricting access to objects within the database.
Resolution to my problem is:
my $dbh = DBI->connect("dbi:Oracle:", "/ as sysdba", " ",
{PrintError => 0, AutoCommit => 0, ora_session_mode => 2} )...