On 1/17/2012 12:47 PM, Geoffrey Myers wrote: > use strict; > use warnings; Is it clear why it doesn't work now? It's the foreach structure. I found a note in the perl docs that explicitly sites a sample similar to yours as a gotcha. Trying to find it again to send.