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
When i execute the script from my shell it displays the following$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();
But from the browser i get onlyWelcome akilesh you have logged in with password root<br>
The variables $usr and $pwd are not getting printed to the browser. What could cause this issue Please help me in thisWelcome you have logged in with password
Back to
Seekers of Perl Wisdom