"be consistent" | |
PerlMonks |
Re: create file with current date for nameby Masem (Monsignor) |
on Aug 07, 2001 at 20:10 UTC ( [id://102832]=note: print w/replies, xml ) | Need Help?? |
printf returns 1 if printing was successful, otherwise zero. Thus $ymd is 1; the print statement follows what printf has printed out. Make that sprintf, and your problems are gone.
-----------------------------------------------------
In Section
Seekers of Perl Wisdom
|
|