XP is just a number | |
PerlMonks |
Re: file creating AND writing errorby Tanalis (Curate) |
on Jun 14, 2004 at 09:06 UTC ( [id://366448]=note: print w/replies, xml ) | Need Help?? |
You're not telling Perl to output data to the file you've opened.
Try changing to Notice the difference: the second printf statement makes use of the CREATE filehandle you've opened your file under. This instructs Perl to redirect printf's output there. Hope that helps, -- Foxcub
In Section
Seekers of Perl Wisdom
|
|