This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Perl can't find my files
- From: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
- To: Alan Westhagen <afw at u dot washington dot edu>
- Cc: cygwin at cygwin dot com
- Date: Fri, 11 Oct 2002 11:52:15 +0200
- Subject: Re: Perl can't find my files
- Organization: Esse keine toten Tiere
- References: <Pine.A41.4.44.0210101710090.157528-100000@homer06.u.washington.edu>
- Reply-to: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
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/