Re: DBI-1.25: dmake.exe: Error -- Don't know how to make `config'

2002-06-13 Thread Steffen Goeldner

Steffen Goeldner wrote:
 
 Although 'dmake' has no problems with empty rules (i.e. w/o recipes)
 in general, it complains about the DBI-1.25 Makefile (WinNT, Borland):
 
   dmake.exe:  Error -- Don't know how to make `config'
 
 I satisfied 'dmake' with a '$(NOOP)' (see attached patch).

It's still a problem in DBI-1.26. Is there a better workaround?

 
Steffen




Driver specifc prefixes

2002-06-13 Thread Jeff Zucker

On Thu, 13 Jun 2002, Tim Bunce wrote:

Don't forget that all driver-private attribute and functions should
start with the driver prefix. So backend_pid should be called pg_backend_pid

1. Just to double check, is this correct?

$dbh-func(  $some_flags
  ,  { $NO_PREFIX_attr_name = 3 }
  ,  $PREFIX_function_name
  );

$dbh-{ $PREFIX_attr_name }; # use sparingly

$dbh = DBI-connect(
dbi:...$NO_PREFIX_attr,...,{$PREFIX_attr}
 );

Or would it be cleaner to name even the truly private $NO_PREFIX 
attributes with the prefix as well?

2. Can we add sql_ as a prefix.  It could be used for SQL::Statement 
related settings that might get set from a variety of DBDs.

-- 
Jeff