Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 11 Oct 2002 11:52:15 +0200
From: "Gerrit P. Haase" <freeweb@nyckelpiga.de>
Reply-To: "Gerrit P. Haase" <freeweb@nyckelpiga.de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <1673682905.20021011115215@familiehaase.de>
To: Alan Westhagen <afw@u.washington.edu>
CC: cygwin@cygwin.com
Subject: Re: Perl can't find my files
In-Reply-To: <Pine.A41.4.44.0210101710090.157528-100000@homer06.u.washington.edu>
References: <Pine.A41.4.44.0210101710090.157528-100000@homer06.u.washington.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Alan schrieb:

> 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?

Is . included in your PATH?


Gerrit
-- 
=^..^=


--
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/

