Re: [Perl-unix-users] CGI

2003-06-19 Thread Jon Earle
There were a few issues. 1. INFO. If you are using the standard method of CGI.pm, then you don't need the call to 'new CGI'. Get rid of that statement in your first script. Not a showstopper - just an unneccessary call. 2. ERROR. Enclose your form's action value in quotes. 3. ERROR. Perhaps it'

[Perl-unix-users] CGI

2003-06-19 Thread 谢 根本
use CGI qw(:standard); $co = new CGI; print header,start_html ("resource input"),h1("Recource Invoking Auto-Record Form"); print hr(); print start_form(-method=>'POST', -action=>recource.cgi); #print p("Name",textfield("name")); print p("Name",popup_menu("name",['xietao1','liuying1','linxb'])); #

Antwort: [Perl-unix-users] testing if a class constant is defined e.g. anoptional constant?

2003-06-19 Thread Georg . Mavridis
Hi, use constant creates a function, so my $item_a=eval {$class_a->CONSTANT_ITEM();}; should do the job. HTH Georg Mavridis ___ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs