Hi Praveen, On Fri, 26 Oct 2012 15:57:36 +0530 Praveen Kumar <[email protected]> wrote:
> Hi folks, > > Check out below code, is this as expected or kind of bug? > > <code> > use strict; > use warnings; > use CGI; > > my $product_id="484f2faee9334559a1a72b4cdc056818"; > print "Enter NT Login ID : "; > chomp (my $user = <STDIN>); #[email protected] it is possible that the CGI module traps the STDIN because it is part of the CGI specification: http://en.wikipedia.org/wiki/Common_Gateway_Interface Furthermore, you should look into PSGI/Plack as an alternative to CGI: http://en.wikipedia.org/wiki/Perl_Web_Server_Gateway_Interface Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ "Humanity" - Parody of Modern Life - http://shlom.in/humanity <danderson> “We are NO LONGER the knights who say ‘BitKeeper’. We are now the knights who say ‘git, git, git, cogito — Linus!’.” Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
