[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] What's difference?



I'm having problems getting filehandles to work in MacPerl.

This doesn't work:

open (FILE, "APS Drive:Files:Eudora secrets") || die "can't";

#"Eudora Secrets" is the name of a file.


This works:

open (FILE, "HD:Desktop Folder:Fundware") || die "can't";


This only difference that I can see is in hard drive location. I am able to
read directories on the external drive fine. I can even write out to
files...but I'm having problems reading external files.

I'm trying to write a script that will open a directory and search through
the files there for a string that I will specify in STDIN. I seem to be
finding dead ends at every turn.


Darryl Caldwell             Oikiasuchou School
___________________________________________________
The Practice Hall: http://www.eznet.com/bravo/ph/ph.html
Myth & Martial Culture