RE: activestate perl on cygwin

2007-01-13 Thread Kevin T Cella
> I simply asked a question. You provided an answer. > Whose undies are in a bunch here? As did I. Sorry I misinterpreted your tone. > Wouldn't it be much more > "stylistic" and clear to simply point directly at the Perl you insist > on > using? Or did you really mean you are putting /usr/bin/pe

Re: activestate perl on cygwin

2007-01-13 Thread Andrew DeFaria
Kevin T Cella wrote: And what does #! look like? #! /usr/bin/perl Is there something that the space after the "!" and before the "/" buys you? Readability. It is simply a question of style. I prefer the space. Has it come to that? Has it come to what? I simply asked a question. You provided an

RE: activestate perl on cygwin

2007-01-12 Thread Kevin T Cella
> > > And what does #! look like? > > #! /usr/bin/perl > Is there something that the space after the "!" and before the "/" buys > you? Readability. It is simply a question of style. I prefer the space. Has it come to that? > So your specifically saying by your shebang line - execute Cygwin's >

Re: activestate perl on cygwin

2007-01-12 Thread Andrew DeFaria
Kevin T Cella wrote: And what does #! look like? #! /usr/bin/perl Is there something that the space after the "!" and before the "/" buys you? So your specifically saying by your shebang line - execute Cygwin's perl. what does ls portion after #! in your script return? Before the conversion u

RE: activestate perl on cygwin

2007-01-12 Thread Kevin T Cella
> What does that matter? It's still short sited. Yes, I don't disagree. Personally I do not care. I will deal with having to port something when it happens. > And what does #! look like? #! /usr/bin/perl > what does ls portion after #! in your script return? Before the conversion using cygpath

RE: activestate perl on cygwin

2007-01-12 Thread Kevin T Cella
> Well, I run perl scripts on cygwin with no problem. Did not do anything > special, > except > make sure NOT to install perl when installing cygwin(and making sure > the activestate perl is in the path) I tried this, but it still does not work. -- Unsubscribe info: http://cygwin.com/ml/#u

RE: activestate perl on cygwin

2007-01-12 Thread Kevin T Cella
> That particular case is handled by the wrapper script I posted. Note > that > you *don't* need to use the wrapper script to invoke perl on the > command > line -- only in the #! (shebang) line of your script file. I know. Thanks. I was just trying to oblige the request from Mr. DeFaria. -- Un

RE: activestate perl on cygwin

2007-01-12 Thread Igor Peshansky
On Fri, 12 Jan 2007, Kevin T Cella wrote: > > Although this is thorough off topic, perhaps you can explain it better > > to me as I don't use ActiveState therefore I don't see what you are > > claiming. Exactly which "full path" is expanded to "what" and passed to > > (guess) ActiveState Perl inte

RE: activestate perl on cygwin

2007-01-12 Thread moka
Kevin wrote: >I still >have no way to execute the command below and a regular script on cygwin >using Activestate. Well, I run perl scripts on cygwin with no problem. Did not do anything special, except make sure NOT to install perl when installing cygwin(and making sure the activestate perl is in

Re: activestate perl on cygwin

2007-01-12 Thread Andrew DeFaria
Kevin T Cella wrote: [snip] but the point of this little story is that you are short sighted if you believe that the only platform you'll encounter and thus need to deal with is Windows... I agree completely. This is for personal use. What does that matter? It's still short sited. Although thi

RE: activestate perl on cygwin

2007-01-12 Thread Kevin T Cella
> [snip] but the point of this little story is that you > are short sighted if you believe that the only platform you'll > encounter and thus need to deal with is Windows... I agree completely. This is for personal use. > As has been pointed out to you already there is Win32 modules for > Cygwin'

Re: activestate perl on cygwin

2007-01-11 Thread Andrew DeFaria
Kevin T Cella wrote: Actually, being technical about this and looking at your OP there is no question there at all! Search for it. Look for a question mark. There is none. There is merely the sentence "Please advise" and that's what you got! Congratulations! I was wondering when someone would p

RE: activestate perl on cygwin

2007-01-11 Thread Kevin T Cella
> [snip] you only need the wrapper script to transform the script name from > POSIX path style to Win32 style, and only if it's in the #! (shebang) > line of a perl script. That was what my wrapper script was designed to do > (as shown by the example usage). You do NOT need a wrapper to run the >

RE: activestate perl on cygwin

2007-01-11 Thread Kevin T Cella
> Actually, being technical about this and looking at your OP there is no > question there at all! Search for it. Look for a question mark. There is > none. There is merely the sentence "Please advise" and that's what you got! Congratulations! I was wondering when someone would point that out; a

Re: activestate perl on cygwin

2007-01-11 Thread Igor Peshansky
On Thu, 11 Jan 2007, DePriest, Jason R. wrote: > On 1/11/07, Igor Peshansky wrote: > > On Thu, 11 Jan 2007, Kevin T Cella wrote: > > > > > [snip] > > > I'm asking for the short term solution. > > > > > > > Answers were provided to you. Apparently they don't tickle your fancy. > > > > People have

Re: activestate perl on cygwin

2007-01-11 Thread DePriest, Jason R.
On 1/11/07, Igor Peshansky wrote: On Thu, 11 Jan 2007, Kevin T Cella wrote: > [snip] > I'm asking for the short term solution. > > > Answers were provided to you. Apparently they don't tickle your fancy. > > People have commented on that wrapper script that you posted. I still > > don't see wha

RE: activestate perl on cygwin

2007-01-11 Thread Igor Peshansky
On Thu, 11 Jan 2007, Kevin T Cella wrote: > [snip] > I'm asking for the short term solution. > > > Answers were provided to you. Apparently they don't tickle your fancy. > > People have commented on that wrapper script that you posted. I still > > don't see what your problem is. If your Perl scrip

Re: activestate perl on cygwin

2007-01-11 Thread Andrew DeFaria
Kevin T Cella wrote: But it is a bad idea to use ActiveState under Cygwin. Would you prefer if we lied to you? No, I'd prefer you answer my question. Actually, being technical about this and looking at your OP there is no question there at all! Search for it. Look for a question mark. There is

RE: activestate perl on cygwin

2007-01-11 Thread Kevin T Cella
> But it is a bad idea to use ActiveState under Cygwin. Would you prefer > if we lied to you? No, I'd prefer you answer my question. I can't use Activestate perl on cygwin by not using Activestate perl on cygwin. Do you see the contradiction? >> My scripts are written to make my life on Windows

Re: activestate perl on cygwin

2007-01-10 Thread Andrew DeFaria
DePriest, Jason R. wrote: > checked activestate. Then I needed some modules, DBD:Orcale to be exact. Maybe you should have looked for DBD::Oracle instead? :-) According to ActiveState's website (http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/ActivePerl-faq2.html) DBD::Oracle Oracl

Re: activestate perl on cygwin

2007-01-10 Thread Andrew DeFaria
Kevin T Cella wrote: ... there is nothing Cygwin-specific about writing such a wrapper script. As I said, any good bash tutorial would have contained enough information for you to write one. Since this is not a bash support list, discussion of techniques for making such scripts work is off-topi

Re: activestate perl on cygwin

2007-01-10 Thread Andrew DeFaria
Kevin T Cella wrote: Offer an alternative. As I mentioned in my original post, I got this script online. In using it I found it was not sufficient, I started this thread in the hopes that someone would provide me with a better wrapper script. Instead I got a bunch of replies about how it is a b

Re: activestate perl on cygwin

2007-01-10 Thread DePriest, Jason R.
On 1/10/07, Andrew DeFaria wrote: some dude wrote: > Andrew DeFaria wrote: > ... >>> I don't actually install through cygwin, but use the ppm installer >>> from Activestate. >> Why people would want to use a proprietary Perl with a proprietary >> installer is beyond me. Let me ask you a question

Re: activestate perl on cygwin

2007-01-10 Thread DePriest, Jason R.
On 1/10/07, Kevin T Cella wrote: Offer an alternative. As I mentioned in my original post, I got this script online. In using it I found it was not sufficient, I started this thread in the hopes that someone would provide me with a better wrapper script. Instead I got a bunch of replies about ho

Re: activestate perl on cygwin

2007-01-10 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: Andrew DeFaria wrote: ... I don't actually install through cygwin, but use the ppm installer from Activestate. Why people would want to use a proprietary Perl with a proprietary installer is beyond me. Let me ask you a question, what happens when you call setsid in thi

RE: activestate perl on cygwin

2007-01-10 Thread Kevin T Cella
> . Thanks. Seeing as I do not know how to configure this, I cannot oblige. >> Offer an alternative. As I mentioned in my original post, I got this >> script online. In using it I found it was not sufficient, I started this >> thread in the hopes that

RE: activestate perl on cygwin

2007-01-10 Thread Igor Peshansky
<http://cygwin.com/acronyms/#PCYMTNQREAIYR>. Thanks. > Subject: Re: activestate perl on cygwin > > > On Mon, 8 Jan 2007, Kevin T Cella wrote: > > > > > I understand the trouble with using Activestate perl on cygwin is > > > the path conversion problem.

RE: activestate perl on cygwin

2007-01-10 Thread Kevin T Cella
Sent: Wednesday, January 10, 2007 9:06 AM To: Kevin T Cella Cc: cygwin@cygwin.com Subject: Re: activestate perl on cygwin On Mon, 8 Jan 2007, Kevin T Cella wrote: > I understand the trouble with using Activestate perl on cygwin is the > path conversion problem. Searching online I found th

RE: activestate perl on cygwin

2007-01-10 Thread Kevin T Cella
Win32::Mechanize Win32::OLE Win32::GuiTest Win32::Process -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yitzchak Scott-Thoennes Sent: Tuesday, January 09, 2007 10:58 PM To: cygwin@cygwin.com Subject: Re: activestate perl on cygwin Kevin T Cella

Re: activestate perl on cygwin

2007-01-10 Thread moka
Andrew DeFaria wrote: ... >> I don't actually install through cygwin, but use the ppm installer >> from Activestate. >Why people would want to use a proprietary Perl with a proprietary >installer is beyond me. Let me ask you a question, what happens when you >call setsid in this ActiveState Perl?

Re: activestate perl on cygwin

2007-01-10 Thread Igor Peshansky
On Wed, 10 Jan 2007, Andrew DeFaria wrote: > I'm not sure I agree with your script's premise which states in the > comment "Cygwin passes 'cygwin style' paths to the program in the #! > statement". I don't believe that is true. Cygwin passes what you specify > at the command line. That part is ac

Re: activestate perl on cygwin

2007-01-10 Thread Igor Peshansky
On Mon, 8 Jan 2007, Kevin T Cella wrote: > I understand the trouble with using Activestate perl on cygwin is the > path conversion problem. Searching online I found the following wrapper > script useful for most perl commands: > > #! /bin/sh > > # This is necessary to make perl work wi

Re: activestate perl on cygwin

2007-01-10 Thread Andrew DeFaria
Kevin T Cella wrote: I don't actually install through cygwin, but use the ppm installer from Activestate. Why people would want to use a proprietary Perl with a proprietary installer is beyond me. Let me ask you a question, what happens when you call setsid in this ActiveState Perl? Anyways...

Re: activestate perl on cygwin

2007-01-09 Thread Yitzchak Scott-Thoennes
Kevin T Cella nycap.rr.com> writes: > Using the version of perl installed with cygwin is not really an option > since I already have scripts written that utilize windows specific modules. Out of curiousity, which modules are those? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-sim

RE: activestate perl on cygwin

2007-01-09 Thread Kevin T Cella
ripts written that utilize windows specific modules. Thanks, Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DePriest, Jason R. Sent: Tuesday, January 09, 2007 12:13 PM To: cygwin@cygwin.com Subject: Re: activestate perl on cygwin On 1/9/07, Brian De

Re: activestate perl on cygwin

2007-01-09 Thread DePriest, Jason R.
On 1/9/07, Brian Dessent wrote: moka at hol dot gr wrote: > > But how do you then install modules? Just like in unix from the tarballs > that are intended for unix? Essentially, yes. Just run CPAN (perl -MCPAN -e shell) and type "install Foo::Bar" just as you would on any unix system. You do

Re: activestate perl on cygwin

2007-01-09 Thread Brian Dessent
[EMAIL PROTECTED] wrote: > > But how do you then install modules? Just like in unix from the tarballs > that are intended for unix? Essentially, yes. Just run CPAN (perl -MCPAN -e shell) and type "install Foo::Bar" just as you would on any unix system. You don't have to actually know or care a

Re: activestate perl on cygwin

2007-01-09 Thread moka
But how do you then install modules? Just like in unix from the tarballs that are intended for unix? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: activestate perl on cygwin

2007-01-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Kevin T Cella on 1/8/2007 8:56 PM: > For some reason, the script above strips the single quotes from the command > and therefore does not execute the command properly. Please advise. If you want my advice, use cygwin perl instead of activ