in reply to Re: cgi programming...
in thread cgi programming...

that's a great tip about not mixing to different things (procedural and OO interfaces).
Im still new in perl programming and generaly in programming.
i've tried to get rid off the ":all" quantifer but i get the following error:
Undefined subroutine &main::param called at phbookad.pl line 13.
i think the solution is the $cgi->param you told me, but i dont (still) know how to use it. any tip would be usefull.
thank you

Replies are listed 'Best First'.
Re: Re: Re: cgi programming...
by dragonchild (Archbishop) on Jan 13, 2003 at 14:54 UTC
    my $name = param('name');
    becomes
    my $name = $cgi->param('name');

    ------
    We are the carpenters and bricklayers of the Information Age.

    Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.