XP is just a number | |
PerlMonks |
Re^3: Checking for Filesby aaron_baugher (Curate) |
on Nov 18, 2011 at 15:11 UTC ( [id://938857]=note: print w/replies, xml ) | Need Help?? |
You're opening your output file inside your while loop, so it's getting closed and then wiped out and reopened for each line of your input file. So you're actually getting the size and date of the last file listed in your input file, not the first. Open your output file outside your while loop, as you do with your input file, and that should fix that. Aaron B.
In Section
Seekers of Perl Wisdom
|
|