Ilya Zakharevich wrote: > Should not Makefile.aperl (used to build new Perl with statically > build extensions loaded) define -DPERL_CORE?
Makes sense. I'm cc'ing the makemaker list for more information. > P.S. Here is how I discovered it: PERL_SYS_INIT3() on OS/2 does the > command-line globbing (by overwriting argc, argv). However, such a > behaviour is questionable when embedding; thus it is enabled when > -DPERL_CORE only. > > It turns out that Perl executables constructed by MakeMaker for static > build (aside: for various reasons we do both dynamic and static build > on OS/2) can't glob: > > perl -wle "print for @ARGV" * > > prints `*' when run from DOSISH shells (of course, the situation is > different if it is run from, eg, pdksh). >
