http://qs321.pair.com?node_id=936162

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

hi, I am new to CGI an perl. I wrote the following code
$Template = HTML::Template->new(filename => "user_login.html"); $Template->param(USER=>$usr); $Template->param(PASSWD=>$pwd); $final = $Template->output(); $q=CGI->new(); print $q->header(); print $q->start_html('user input'); print $q->h1($final); print $q->end_html();
When i execute the script from my shell it displays the following

Welcome akilesh you have logged in with password root<br>

But from the browser i get only
Welcome you have logged in with password
The variables $usr and $pwd are not getting printed to the browser. What could cause this issue Please help me in this