open FH, ">somefile" || die "Could not open somefile : $!"; #### $dbh = DBI->connect('dbi:DBDnamehere:connectstringhere','userid', 'password', {RaiseError => 1});