delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/20/17:49:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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-BrightmailFiltered: true
From: "Ramneek Singh" <ramneek AT cisco DOT com>
To: <cygwin AT cygwin DOT com>
Subject: HELP - Installing/Using Cygwin for Perl
Date: Tue, 20 Jul 2004 14:50:10 -0700
Message-ID: <001a01c46ea3$8763b640$9c7ba8c0@amer.cisco.com>
MIME-Version: 1.0

Hi,

I am absolutely new to perl and cygwin, so apologize if the question
appears trivial to you. I have been asked to write a perl script which
will work on unix and can be ported
To windows also. (I have searched through the archives).

1) I am not clear from the website if I need to install perl on
windows2000 first and then install a cygwin package for perl. Please
clarify.

2)I will be using Perl 5.6.1. So do I need to download cygwin perl
package which mentions
Perl 5.6.1 ?? (Not sure if version numbers are comparable here).

3)I went through the list of cygwin packages. I am not sure what all I
need to install.
For my requirements , I need to open and read from existing files ;
write to files;
Use the redirection operator " > " to do something like `java Myjavaprog
abc > tempFile`.
In addition to this I need to do pattern matching to compare the output
of the above 
Command with the expected output (which I plan to store in an existing
file).

4) Also, in order to port my perl script from Unix to Windows the steps
that I understand I have to do is : I write a perl script on UNIX 
 and put then copy that code into a file from the cygwin console window
?

5) Is there any sample code available (websites or otherwise) to do the
steps mentioned
In (3) that you may be aware of using cygwin?

Thanks
Ramneek



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019