moquin
asked on
perl -P in 5.005
I'm trying to use the -P switch with Perl 5.005 on Win95 to get it to do a C preprocessor pass before compiling. The command 'perl -P test.pl' generates the following error:
Can't open perl script "test.pl": Bad file descriptor
I do have Visual C++ on the same machine. Do I need to specify the location of the C preprocessor somewhere? If so, how do I do this?
Thanks,
Brian
Can't open perl script "test.pl": Bad file descriptor
I do have Visual C++ on the same machine. Do I need to specify the location of the C preprocessor somewhere? If so, how do I do this?
Thanks,
Brian
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry, I never saw this.... that message is generally an indicator
that you've got conflicting versions of perl, or conflicting versions
of the compiler setup.
Did you download a binary distribution of perl? If so, you're
probably best off downloading the source code, and then compiling everything
that you've got conflicting versions of perl, or conflicting versions
of the compiler setup.
Did you download a binary distribution of perl? If so, you're
probably best off downloading the source code, and then compiling everything
ASKER
Source isn't available for ActiveState 5.005 for Win32.
Thanks anyway. I'll find another way around it.
Thanks anyway. I'll find another way around it.
Hey, wait a minute. You said you were using perl 5.005, I didn't
think ActiveState was up that high yet (I'm not fond of the
ActiveState port, and generally advise against people using it unless
there's a good reason to, i.e. you really need perlscript).
You'll find a pre-compiled version of Filter at the activestate web
site.
think ActiveState was up that high yet (I'm not fond of the
ActiveState port, and generally advise against people using it unless
there's a good reason to, i.e. you really need perlscript).
You'll find a pre-compiled version of Filter at the activestate web
site.
ASKER
b