Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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/