delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Thu, 10 Oct 2002 17:21:15 -0700 (PDT) |
From: | Alan Westhagen <afw AT u DOT washington DOT edu> |
To: | cygwin AT cygwin DOT com |
Subject: | Perl can't find my files |
Message-ID: | <Pine.A41.4.44.0210101710090.157528-100000@homer06.u.washington.edu> |
MIME-Version: | 1.0 |
I wrote a perl program which uses the construct while (<>) { } If I run this script from the directory in which it resides, and the files whose names are passed as arguments reside in a subdirectory, everything works fine. Otherwise I get the following error message: Can't open <whatever the file name is>: No such file or directory at <program name> line 6 . I am certain that the files in the argument list do indeed exist, because I run an "ls" with the same pattern and they are listed. I must be missing an environment variable opr some other configuration switch. Has anyone experienced this problem? -- Alan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |