Ok, this is paul again. This has have to be THE best day ever! The script works fine now...all I had to do was remove the line breaks because it was overloading the webcam! And Pronto (a damn good email client that feels like Outlook and is based on Perl) WORKS! Thanks again.....now to interpreting this to a web based CGI script.......