Re: perl and cygwin perl (unix style paths)



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


.



Relevant Pages

  • Re: Need help installing WWW-Search-Ebay-2.193 Module...
    ... One of the O'Reilly Books has a script that calls this ... perl Makefile.PL ... you may need to find and install command-line versions of tar and gzip ... > ActivePerl for Linux under Cygwin ...
    (comp.lang.perl.misc)
  • Re: Learning Perl
    ... >>> module to be installed is most likely not available as ppm package. ... I don't think this was true by the time I started learning Perl a few ... > Apparently ppm uses two different commands for installing ... I have been using cygwin for longer than I care to remember. ...
    (comp.lang.perl.misc)
  • Re: Confusion of Win32::ODBC under CygWin. Please help...
    ... >>My advice is to not try to mix and marry Cygwin Perl and ActiveState ... He is getting that from the lib directory of a previous version of perl ... > the Win32 modules as an extra download that can be selected separately. ...
    (comp.lang.perl.misc)
  • Re: unicode not appearing correctly
    ... but works okay on Cygwin and Perl on Windows boxes. ... Simplified Chinese and part of the Greek characters displayed ...
    (comp.lang.tcl)
  • Re: Learning Perl
    ... > I only used it for Perl. ... I've used both (cygwin and ActiveState) for years, ... while obviously cygwin provided these in the environment. ...
    (comp.lang.perl.misc)