This is one way to do it:
on open these_items
repeat with this_item in these_items
set the_path to POSIX path of this_item
set result to do shell script "/Users/james/backatcha.pl \"" & the_path & "\""
display dialog result
end repeat
end open
Yippee! I have got this to work, and now, with a few minor variations have a nice little applet on which you can drop a 'pod' file and get a 'pdf' version in return.
I am most grateful for all the very helpful contributions from so many folk in the last day or so.
Many thanks,
Alan