in reply to Opens but Won't Write to file
In either case, you should ALWAYS check that open() succeeds, and it's probably a good idea to check print() too:
is the standard procedure.open FH,">","whatever" or die "Can't open whatever: $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Opens but Won't Write to file
by Bloodnok (Vicar) on Oct 30, 2009 at 23:09 UTC | |
by Joost (Canon) on Oct 30, 2009 at 23:20 UTC |