Re: perl and cygwin perl (unix style paths)
- From: "nobull67@xxxxxxxxx" <nobull67@xxxxxxxxx>
- Date: 27 Apr 2007 10:35:27 -0700
On Apr 27, 6:17 pm, nishipraf...@xxxxxxxxx (Nishi) wrote:
Hi gurus:
I am trying to run perl command via cygwin. I have cygwin mapped drive in
which i use the locally installed perl(and not cygwin perl) but apprently,
that perl is not able to find an existing file. When the same command is run
via cygwin perl, it runs fine.
Does perl on windows understand unix style path?
If you mean do forward slashes work, yes.
Cygwin perl understands
unix style path. Is that the issue? what else could be the issue?
/cygdrive/c/Perl/bin/perl /temp/Nightly/bit/mailer.pl
So /cygdrive/c/Perl/bin/perl is the native Win32 Perl?
And C:\temp\Nightly\bit\mailer.pl is the Windows pathname of the
script?
You are issuing this command in a cygwin shell?
Perhaps you should check a couple of things
/cygdrive/c/Perl/bin/perl -MCwd -e"print cwd"
/cygdrive/c/Perl/bin/perl -e"print @ARGV" /temp/Nightly/bit/mailer.pl
.
- References:
- perl and cygwin perl (unix style paths)
- From: Nishi
- perl and cygwin perl (unix style paths)
- Prev by Date: Re: Modify File in Place
- Next by Date: Re: Modify File in Place
- Previous by thread: perl and cygwin perl (unix style paths)
- Next by thread: Re: perl and cygwin perl (unix style paths)
- Index(es):
Relevant Pages
|
|