Ah I see, oh yes it definitely exists, I'm actually browsing to it in the Web form, but I've also tried hardcoding a file name into the script rather than using $attachment and I still have the same problem (and the hardcoded file name was in the same folder on the same drive as the script)
MIME::Lite won't work - it's not a module that my Perl installation has ;-(