| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-MIMEOLE: | Produced By Microsoft Exchange V6.0.4417.0 |
| content-class: | urn:content-classes:message |
| MIME-Version: | 1.0 |
| Subject: | RE: Executing Perl from the Cygwin command line |
| Date: | Fri, 4 Oct 2002 18:29:24 -0400 |
| Message-ID: | <BADF3C947A1BD54FBA75C70C241B0B9E762F74@ex02.idirect.net> |
| X-MS-Has-Attach: | |
| X-MS-TNEF-Correlator: | |
| From: | "Harig, Mark A." <maharig AT idirect DOT net> |
| To: | "Peter Desjardins" <pdesjardins AT oakgroup DOT com>, <cygwin AT cygwin DOT com> |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g94MTZ232232 |
What is the setting of your PATH environment variable? $ echo $PATH Does it include the directory that contains your perl binaries? You can set your PATH (and other bash shell environment variables) in your .profile (aka, ~/.profile) so that it will be set each time you start a bash shell. Have you considered downloading the Cygwin perl package and using it instead? > -----Original Message----- > From: Peter Desjardins [mailto:pdesjardins AT oakgroup DOT com] > Sent: Friday, October 04, 2002 4:54 PM > To: cygwin AT cygwin DOT 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 AT oakgroup DOT 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/ > > -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |