atnonis has asked for the wisdom of the Perl Monks concerning the following question:
sub display_error { my $html_title = $_[0]; my $error = $_[1]; print $cgi->start_html(-title=>"Error: $html_title"). $cgi->h3($error). $cgi-end_html(); }
display_error("User already exists","Sorry, user $add_user already exi +sts, founded line $found.");
Software error: Undefined subroutine &main::end_html called at C:/Program Files/Apache + Group/Apache2/htdocs/login.pl line 231.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sub routine - cgi Undefined subroutine
by Wonko the sane (Curate) on Mar 10, 2003 at 21:32 UTC | |
|
Re: sub routine - cgi Undefined subroutine
by Cabrion (Friar) on Mar 11, 2003 at 00:06 UTC |