Yup, FTYPE and ASSOC set up correctly, I believe.
But the problem is completely this area as far as I can tell. Calling my script as an argument to perl.exe
> perl script.pl
works fine. But
> script.pl
runs the script (correctly) but then if barfs on the require'd package. It does this when a subroutine declared as, say, main::runme() is called. So the require opertion itself seems to work OK. Looks like there is some sort of conflict betwixt the namespaces and Windows. Somewhere. Somehow.