Thanks for the array advice - I've fixed that. The problem remains, though. I can't get any of my perl output into the php. I thought that a print in perl would write data to the $Result array in the php exec call. Is this not true?
(This is just a test app - ultimately I want to extract some data form a csv file in the perl script.)
Richard.