in reply to Re^4: Reading a spreadsheet
in thread Reading a spreadsheet

No, “after the loop” means after the loop body, not after the loop condition:

foreach my $worksheet (...) { ... foreach my $row (...) { ... if (...) # filter out unwanted data, including h +eader { send_data(...); # send data extracted from the spreadsh +eet } } } send_data(zipcode => 'DONE'); # NOW you're done!

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,