Re: Book: guestbook.cgi

1999-12-14 Thread Doug MacEachern
On Sun, 12 Dec 1999, Michael Dearman wrote: > I've copied example 4-15 and multi-checked it, for the > past couple of days. Finally used a copy of the example > obtained from the book site. But still have problems. modperl.com has the book source tarball, including a newer version of the guestbo

Re: Book: guestbook.cgi

1999-12-12 Thread Aaron Turner
On Sun, 12 Dec 1999, Michael Dearman wrote: > > 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 => '

Re: Book: guestbook.cgi

1999-12-12 Thread Michael Dearman
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 f

Book: guestbook.cgi

1999-12-12 Thread Michael Dearman
I've copied example 4-15 and multi-checked it, for the past couple of days. Finally used a copy of the example obtained from the book site. But still have problems. [note: the example from the book sight used strftime(time, '%D') in sub write_guestbook. Changing that to strftime('%D', localtime)