Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <4B8F50430DC6D611875E00508BE14DF2507D8D@pasmail.office.tmcs>
From: Smithesh Ramachandran <smithesh@ticketmaster.com>
To: "'pdesjardins@oakgroup.com'" <pdesjardins@oakgroup.com>
Cc: "'maharig@idirect.net'" <maharig@idirect.net>,
   "'cygwin@cygwin.com'"
	 <cygwin@cygwin.com>
Subject: executing perl from command line (cygwin)
Date: Fri, 4 Oct 2002 16:34:30 -0700 
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"

Hi Peter,
Like Mark said cygwin perl is a much better option. I use it quite often.

I think you still can execute active perl  or any windows executable on
Cygwin. 

Make sure you are escaping '\' by '/'  on the directory paths. For e.g.,  if
you are trying to execute something on your windows at
C:\Sample\pscp.exe.

Then you will do the following on your cygwin prompt
admin@TMLA_SRAMACHAND ~ C:/\Sample/\pscp.exe

Thanks,
Smithesh.



> -----Original Message----- > From: Peter Desjardins
[<mailto:pdesjardins@oakgroup.com>] > Sent: Friday, October 04, 2002 4:54 PM
> To: cygwin@cygwin.com > Subject: Executing Perl from the Cygwin command
line > > > Does anyone know how to configure Cygwin to execute Perl code >
from the command line? > > I installed Cygwin on Windows 2000. It works very
well. I > also have ActivePerl installed. It works well too. > > If I type
perl -e 'print "Hello World";' on the Cygwin > command line, the response is
"bash: perl: command not found". > > I've searched the archives and several
sites but can't find a > starting point. Can anyone direct me to some
relevant documentation? > > Thanks. > > Peter Desjardins > The Oak Group >
(781) 943-2259 > pdesjardins@oakgroup.com > 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

