X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <31b7d2790711060907rf21e581j742ff91897a65cc2@mail.gmail.com> Date: Tue, 6 Nov 2007 11:07:30 -0600 From: "DePriest, Jason R." To: cygwin AT cygwin DOT com Subject: Re: Wish Setup would accept my Perl In-Reply-To: <001501c82094$434e4230$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <183c528b0711060821u278c0775of56ba7e004aaf180 AT mail DOT gmail DOT com> <001501c82094$434e4230$2e08a8c0 AT CAM DOT ARTIMI DOT COM> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 11/6/07, Dave Korn <> wrote: > On 06 November 2007 16:21, Brian Mathis wrote: > > > I must say with respect that if there are problems porting from > > Activestate to linux/unix, that's a problem with the programmer who > > wrote the code, not Perl. There's no reason that code that's general > > in nature would not be portable. > > Does Activestate perl parse unix/posix style paths with a single common '/' > filesystem root? > > If not, case closed I'd say. > > Not to mention ... > > --------------->from the AS perl docs<--------------- - - - - cut wordy badness - - - - > ---------------------->end snip<--------------------- > > IOW, Perl is not a write-once-run-anywhere language, and AS perl cannot be > assumed to satisfy the requirements that any random cygwin package that > requires perl may impose. > > cheers, > DaveK > -- > Can't think of a witty .sigline today.... > So, to help the OP's: use your perl installation as it was intended. I have ActiveState Perl installed and cygwin perl. I also have ActiveState Python and cygwin python. I have no problems when I use each version in the appropriate environment. Simple scripts can be written that will run in both environments. Heck, some of the Win32 stuff has even been ported to cygwin (see setup.exe). I once, like you, wondered why I couldn't just have one installation of Perl or Python that works in either environment. Since I write scripts, not code, I assumed it was because it was just too hard to do and began to use each program in its appropriate place. Cygwin handles the pathing so I never have a problem with a cygwin bash prompt trying to call C:\Perl\bin\perl when I just use 'perl'. It checks /usr/bin/perl first. Use as intended. -Jason PS - I use PPM to manage perl modules for ActiveState Perl and cpan to manage modules for cygwin perl. PPM is super-Windows-centric. -- 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/