in reply to PAR pp glob for me on windows?
Actually, MinGW, on Windows, does glob expansion, e.g.:
#include <stdio.h> extern int _CRT_glob; //_CRT_glob = 0; int main( int argc, char **argv ) { int i; for ( i = 1; i < argc; i ++ ) printf( "%s\n", argv[i] ); return 0; }
and then
>gcc x.c >a.exe *.c x.c
If comment is uncommented, the output becomes *.c. However, Perl has its reasons to prevent such globbing. The "other Win32 ports" being ActiveState, and PAR-packed executable, created with AS-Perl, won't expand globs.
What's odd, is that executable built with PAR::Packer should prevent globbing, too -- this seems to be the intention. But for some reason, it doesn't work. So, I'd say it's minor bug and/or inconsistency.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PAR pp glob for me on windows?
by Discipulus (Canon) on Mar 29, 2018 at 11:45 UTC | |
by pryrt (Abbot) on Mar 29, 2018 at 13:21 UTC | |
by vr (Curate) on Mar 29, 2018 at 15:36 UTC |