The above code was just prototype code; the actual code was getting the list of strings (@f) from a readdir. This was one of the original motivators for having the outer looping construct be over @f.
Ivan Heffner
Sr. Software Engineer
WhitePages.com, Inc.