Syntactic Confectionery Delight | |
PerlMonks |
Re (tilly) 1: How do I read the files in @ARGV one by oneby tilly (Archbishop) |
on Mar 19, 2001 at 21:30 UTC ( [id://65471]=note: print w/replies, xml ) | Need Help?? |
How do you distinguish filenames from contents of files in your data structure? A hash of arrays is cleaner. The following snippet should work: The purpose of the first line is to make sure that files which are empty are included in your hash.
In Section
Seekers of Perl Wisdom
|
|