in reply to Re^9: When every microsecond counts: Parsing subroutine parameters
in thread When every microsecond counts: Parsing subroutine parameters
Perfect example of a bad api (I'm assuming that your experience of rarely needing \%attr is widespread.)
Maybe there is scope for the addition of a doBind() to the api that reverses the ordering of the last two parameters. Or just omits the second.
But named parameters would be no advantage:
$dbh->do( sql => 'update some_table set some_column=?', bind => [ $some_string ] );
|
|---|