Barring that you are not redefining the current working directory, and that
"somefile" contains *no* colons or leading/trailing spaces, it would have to
be a problem with OS X. But without seeing the whole script, it is hard to
tell.
Keary Suska
(719) 473-6431
(719) 649-6736 (mobile)
> From: Hans Holtan <[EMAIL PROTECTED]>
> Date: Sun, 15 Jul 2001 01:54:44 -0700
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Subject: [MacPerl] newbie: relative directory paths not working
>
> Hi everyone,
> I find that I must use absolute directory paths to access files from
> my perl scripts. If I just name a file:
> open (FH, "<somefile") || die;
>
> It will not be found even if it is in the exact same directory as my
> perl script.
>
> What's going on, and how do I fix it?
>
> Thanks for your help!!
>
> Hans Holtan
> (I am working on a mac with OS X)
>