Skip to content
Snippets Groups Projects
Commit fa5fa0db authored by Magali Ruffier's avatar Magali Ruffier
Browse files

using plain assignment to assigne individual values to a has, rather than the...

using plain assignment to assigne individual values to a has, rather than the fat comma used in the larger hash declaration
parent 5ef84030
No related branches found
No related tags found
No related merge requests found
......@@ -1113,8 +1113,8 @@ sub to_hash {
-USER => $self->username(),
-DRIVER => $self->driver(),
};
$hash->{-DBNAME} => $self->dbname() if defined $self->dbname();
$hash->{-PASS} => $self->password() if defined $self->password();
$hash->{'DBNAME'} = $self->dbname() if defined $self->dbname();
$hash->{'PASS'} = $self->password() if defined $self->password();
return $hash;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment