in reply to Read into stdin pipe characters

Further to previous posters' comments on quoting (for the shell) and using code tags, it would be useful to include the error, since it is almost certainly the *nix shell that is throwing the error. The perl script itself should happily read in any characters and not assign any special meaning to them (well, apart from eol and other "real" special characters)