keplerfan has asked for the wisdom of the Perl Monks concerning the following question:

O erudite ones!

having used the site passively for some time,and gained a lot, I ask for your forebearance for any breaches of etiquette or displays of fundamental ignorance (easily possible) now that I have the trepidation to ask a question:

a search for my problem produced just what I wanted at How can I send an HTML error message to a user who leaves form fields blank?: Ovid's tip on CGI method display_page_with_errors, which looked really neat. Unfortunatey CGI seems to have changed in the meantime because my system doesn't recognize the method. Here's the message I get from Apache:

"Undefined subroutine &main::display_page_with_errors called at C:/.......".

A search of CPAN produces a load of fragmented methods, but nothing corresponding neatly to page_with_errors.

Is there something out there easy to use for someone of modest talents, or have I misunderstood something very basic?

In any event, many thanks in advance to anyone who looks at this....

Peter..

Replies are listed 'Best First'.
Re: display_page_with_errors
by PodMaster (Abbot) on Jan 22, 2005 at 10:41 UTC
    Ovid's tip on CGI method display_page_with_errors...
    CGI never had a display_page_with_errors method (besides that is function call). You're were supposed to write that function. If you google for display_page_with_errors, you'll come upon a recent reply Ovid made on the perl beginners list => http://www.nntp.perl.org/group/perl.beginners/15098

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.