Can Perl Run from Shebang Line on BASH Shell on Windows 98 Computer?

Earnie Boyd
Fri Mar 3 11:56:00 GMT 2000

--- James E Keenan <> wrote:
> I am having problems running Perl on my Windows 98 machine using the Cygwin
> B-32 BASH shell. While I can run Perl from the command line, I cannot yet get
> "stand-alone" Perl programs to run, i.e., programs where Perl runs not
> because the command "perl -e" is evoked in the first position on the command
> line but rather because the ".pl" file itself has information concerning the
> location of the Perl interpreter on the computer.
> Installation:             Perl version 5.005_03 built for MSWin32-x86-objec. 
> Binary build 522 from ActiveState Tool Corp.

NON-CYGWIN programs will not know about the Cygwin mounted paths.  You will
need to use an absolute DOS path for the here document.  You will need to do
something like:

#! c:\\program\ folder\\perl\\bin\\perl

Caveat: Untested.

   Earnie Boyd: < >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < >
           __Minimalist GNU for Windows__
  Mingw32 List: < >
    Mingw Home: < >
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list