The current post_initialize() uses the external command 'find' to search the perl library tree for old versions of DBI and DBD drivers. This won't work on most Win32 machines and probably won't work in some other platforms either. It also uses <*.xst> to identify some of the files used to build DBD drivers and explicitly lists the C header (.h) files. Because glob() depends on csh in most UNIX builds it is vulnerable to absent or invalid csh's. A fixed list of the header files is vulnerable to new header files not being made available for DBD builds. The modified subroutine (patch file attached) uses File::Find for both operations. In addition, reports all .h and .xst files, not just the ones explicitly listed. I changed the old file and directory search regular expression so it accepts all files in the DBD directories, not just the DBD directories themselves. The original match expression is present, but is commented out in case that behavior is preferred. -- Mac :}) ** I normally forward private database questions to the DBI mail lists. ** Give a hobbit a fish and he'll eat fish for a day. Give a hobbit a ring and he'll eat fish for an age.Thread Previous | Thread Next