XP is just a number | |
PerlMonks |
Running Perl with Cygwinby cocl04 (Sexton) |
on Jun 23, 2009 at 20:25 UTC ( [id://774163]=perlquestion: print w/replies, xml ) | Need Help?? |
cocl04 has asked for the wisdom of the Perl Monks concerning the following question: All, I resently installed cygwin on my windows pc. Prior to using cygwin, I used dos to run all of my bat files, perl, sql, etc... I can run all of my bat files for perl and sql in dos and / or cygwin. However, when I attempt to run the perl script directly at the command line in cygwin, I get the below error.
Initially, I tried the "use lib" module to point to the modules directory. It did not work. It is very strange, because the perl script will run in cygwin as a bat file (i.e. ./test.bat) in the below format.
However, it will not run at the command line. I have tried some of the following options:
And I still get the error. Does anyone have any suggestion? How would perl run at all if the modules where not installed correctly? What is different about cygwin? Is there some kind of global view when running a bat file that cygwin does not see at the command line?
Back to
Seekers of Perl Wisdom
|
|