in reply to problem opening and reading from a file
open(OUT,">/foo.csv") or die "Cannot open output file: $!";
Then when you run the script you'll see a message indicating what exactly is wrong. For example, if I run the above code without permission to open '/foo.csv' I'll see:
Cannot open output file: Permission denied
-sam
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: What the @#%* lost again!
by Nkuvu (Priest) on Jul 02, 2003 at 21:21 UTC | |
by samtregar (Abbot) on Jul 03, 2003 at 04:13 UTC | |
by Nkuvu (Priest) on Jul 03, 2003 at 05:36 UTC |