in reply to Re^11: RFC: Proposed tutorial - simple login script using CGI::Application
in thread RFC: Proposed tutorial - simple login script using CGI::Application
And I’m not sure, what has to define in the “myrunmode.html” file as well.syntax error at /var/www/cgi-bin/WebApp/libs/libs/MyLib/VPage.pm line +24, near "}" BEGIN not safe after errors--compilation aborted at /var/www/cgi-bin/W +ebApp/libs/libs/MyLib/VPage.pm line 24. Compilation failed in require at /var/www/cgi-bin/WebApp/libs/vpage.pl + line 4. BEGIN failed--compilation aborted at /var/www/cgi-bin/WebApp/libs/vpag +e.pl line 4. Premature end of script headers: vpage.pl
Please let me know if you any suggestion on this, Thanks in advance! Struggling here for last couple of days.sub myrunmode: StartRunmode { my $self = shift; my $template = $self->load_tmpl("myrunmode.html"); ### guts of old vpage.cgi go in here my $output="<b> Testing page</br>"; $template->param({ OUPUT => $output; # your output goes in here... }); return $template->output; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^13: RFC: Proposed tutorial - simple login script using CGI::Application
by Corion (Patriarch) on Jan 25, 2016 at 10:25 UTC | |
by Anonymous Monk on Jan 25, 2016 at 11:22 UTC | |
by scorpio17 (Canon) on Jan 25, 2016 at 17:56 UTC | |
by Anonymous Monk on Feb 16, 2016 at 12:20 UTC | |
by Anonymous Monk on Feb 17, 2016 at 00:39 UTC |