Think about Loose Coupling | |
PerlMonks |
Re: Opens but Won't Write to fileby Joost (Canon) |
on Oct 30, 2009 at 20:58 UTC ( [id://804216]=note: print w/replies, xml ) | Need Help?? |
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: is the standard procedure.
In Section
Seekers of Perl Wisdom
|
|