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, |
In reply to Re^5: Reading a spreadsheet
by Athanasius
in thread Reading a spreadsheet
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |