in reply to PERL Changes

Are you by any chance using a Windows text editor on a file from a *nix system? Unexpected Windows-style line separators (particularly on the #! line of a CGI script) could be one potential cause.