delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/11/05:53:44

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: Fri, 11 Oct 2002 11:52:15 +0200
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <1673682905.20021011115215@familiehaase.de>
To: Alan Westhagen <afw AT u DOT washington DOT edu>
CC: cygwin AT cygwin DOT 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 DOT A41 DOT 4 DOT 44 DOT 0210101710090 DOT 157528-100000 AT homer06 DOT u DOT washington DOT edu>
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019