in reply to reading HTML file

This is just a hunch, but your problem may be that you are trying to get an array from the result() method, which really only returns a scalar or a reference

Try using the paramsout() method instead if you really are receiving an array (list?) - and look into the paramsall() method which combines result() and paramsout().

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)