Spotted this

sub view_guestbook {
        my $show_sign_button = shift;
        print start_form,
        submit(-name => 'Sign Guestbook'),   <<<----
        end_form if $show_sign_button;
        ...

changed to
        submit(-name => 'action', -value => 'Sign Guestbook'),

And at least the forms behave correctly. Still not sure
if the many logs about subroutine redefines should be happening.

Could someone please confirm if this is the code in their book?
(book == Writing Apache Modules with Perl and C, March 1999 -
first edition.)

Thanks for your patience,
M. Dearman

Reply via email to