http://qs321.pair.com?node_id=804216


in reply to Opens but Won't Write to file

open() and print() return a true value when they succeed. Either your open call isn't succeeding or your prints arent working (maybe you're running out of disk space?)

In either case, you should ALWAYS check that open() succeeds, and it's probably a good idea to check print() too:

open FH,">","whatever" or die "Can't open whatever: $!";
is the standard procedure.