Mathew Snyder schreef: > I [...] > removed the initialization to 0 for 'my > $file_count' since it doesn't need to be set to an initial value > anyway.
There was nothing wrong with that initialization, but it is OK too to leave it out. But: you don't really need that $file_count, do you? The length of the array is readily available as "scalar @filenames", as you had before. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>