Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

switch CSV to named params

  • Loading branch information...
commit 2d80367db039e03eb51c0c7e3fc5917874b324b2 1 parent 2f56347
@moritz moritz authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 lib/MiniDBD/CSV.pm6
View
7 lib/MiniDBD/CSV.pm6
@@ -71,12 +71,11 @@ class MiniDBD::CSV:auth<mberends>:ver<0.0.1> {
has $.Version = 0.01;
- method connect( Str $user, Str $password, Str $params, $RaiseError ) {
+ method connect(:$RaiseError ) {
#warn "in MiniDBD::CSV.connect('$user',*,'$params')";
- my $connection;
- $connection = MiniDBD::CSV::Connection.bless(
+ my $connection = MiniDBD::CSV::Connection.bless(
MiniDBD::CSV::Connection.CREATE(),
- RaiseError => $RaiseError
+ :$RaiseError
);
return $connection;
}
Please sign in to comment.
Something went wrong with that request. Please try again.