This fixes a problem on VMS where __FILE__ returns a lower-cased filename so the match fails and ends up causing the include file to be created with a zero-length name (and thus invisible to the compiler during the build). I don't see any reason for this to be case sensitive anywhere else either, but if someone really objects we can always put an "if $^O eq 'VMS'" in there somewhere. --- ext/B/defsubs_h.PL_ORIG Fri Oct 22 23:22:19 1999 +++ ext/B/defsubs_h.PL Fri Oct 22 23:21:51 1999 @@ -2,7 +2,7 @@ # this file as a template for defsubs.h # Extracting defsubs.h (with variable substitutions) #!perl -my ($out) = __FILE__ =~ /(^.*)\.PL/; +my ($out) = __FILE__ =~ /(^.*)\.PL/i; $out =~ s/_h$/.h/; open(OUT,">$out") || die "Cannot open $file:$!"; print "Extracting $out...\n"; ### end of patch ____________________________________________ Craig A. Berry mailto:craig.berry@metamor.com