On Fri, Oct 26, 2012 at 5:27 AM, Praveen Kumar <[email protected]> wrote: > , build : 12 randompassil.com --> This is what I am getting > > User : [email protected], Password : randompass, build : 12 -->
Yeah, stack them up and: User : [email protected] , Password : randompass , build : 12 --> That is: User : [email protected]\r, Password : randompass\r, build : 12\r --> your chomps are removing \n (newline) from the input but not \r (carriage return) - Perl normally does that correctly by deciding which OS you're on. Hmm: http://www.perlmonks.org/bare/?node_id=55540 Seems to say that Win32 CGI.pm sets binmode on STDIN (and STDERR, STDOUT). Does adding: $/ = "\r\n"; after use CGI; make a difference? -- a Andy Bach, [email protected] 608 658-1890 cell 608 261-5738 wk -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
