Re: running a perl app

2006-04-19 Thread Sisyphus
- Original Message - From: "Chris Wagner" . . > > Actually the Cygwin commands are independent exe's and don't have to be run > from any certain shell. I run cygwin commands from cmd.exe all the time. > The key difference is that they act and return output in the context of the > cygwin

Re: running a perl app

2006-04-19 Thread Chris Wagner
At 04:32 PM 4/19/2006 +1000, Sisyphus wrote: >On windows the same command could successfully be run in the msys shell, or >in Cygwin's bash shell - and perhaps some other shells, too - but not the >cmd.exe shell, unless you've installed a which.exe such as that available >from http://gnuwin32.sourc

RE: running a perl app

2006-04-19 Thread Peter Eisengrein
Title: RE: running a perl app > > >To determine the correct path for your perl interpretor, use: > > > > >    which perl > > > > >-- > > > > Please give me a context. > > > > Note that the original post pertained to a Uni

Re: running a perl app

2006-04-18 Thread Sisyphus
- Original Message - From: "Jerry Kassebaum" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Wednesday, April 19, 2006 1:09 PM Subject: Re: running a perl app > >To determine the correct path for your perl interpretor, use: > > >wh

Re: running a perl app

2006-04-18 Thread Chris Wagner
It's the cygwin/unix command. It tells u which object in ur path will be exectued. D:\autocrat>which perl /c/perl/bin/perl -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 0100 ___ Perl-Win32-Users mailing list

Re: running a perl app

2006-04-18 Thread Jerry Kassebaum
To determine the correct path for your perl interpretor, use: which perl -- Please give me a context. C: which perl $x = which perl; c: perl which perl I'm missing something here. ___ Perl-Win32-Users mailing list Perl-Win32-Users@li

Re: running a perl app

2006-04-18 Thread John Shea
Bruce,To determine the correct path for your perl interpretor, use:    which perl-- John T SheaThere are 2 kinds of people in the world,those who finish what they start ... On 4/18/06, Ng, Bill <[EMAIL PROTECTED]> wrote: First,You're writing to a Win32 (Read: Windows) mailing list. =)Se

RE: running a perl app

2006-04-18 Thread Ng, Bill
First, You're writing to a Win32 (Read: Windows) mailing list. =) Second, You're either missing or misspelling the path to the perl interpreter as your first line in every script. Your first line should always be: - #!/usr/bin/perl (or whatever the path is to

Re: running a perl app

2006-04-18 Thread Paikia
On 4/18/06, bruce wrote: hi..using linux. when i do "perl foo.pl" everything works ok. when i do"./foo.pl" i get errors.. i've set the exe bit "chmod 775 foo.pl"...any idea as to what's going on... Have you forgotten to add the shebang "#!/usr/bin/perl" (without quote - path to your Perl executabl