in reply to one of these codes is not like the other
Yes, you are definitely not using strict. A big no-no that will cause you much grief. Also: I'm not a CGI.pm guru but your print syntax looks pretty suspect, too. Here's example code from CGI:
Note the commas after the "p" tag. You may want to review this module.print start_html('A Simple Example'), h1('A Simple Example'), start_form, "What's your name? ",textfield('name'), p, "What's the combination?", p, checkbox_group(-name=>'words', -values=>['eenie','meenie','minie','moe'], -defaults=>['eenie','minie']), p, "What's your favorite color? ", popup_menu(-name=>'color', -values=>['red','green','blue','chartreuse']), p, submit, end_form, hr;
Update: Actually, TIMTOWTDI. Your print syntax looks alright.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop";
$nysus = $PM . $MCF;
Click here if you love Perl Monks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: one of these codes is not like the other
by damian1301 (Curate) on Jul 17, 2001 at 00:26 UTC | |
by runrig (Abbot) on Jul 17, 2001 at 01:58 UTC | |
by damian1301 (Curate) on Jul 17, 2001 at 02:06 UTC |
In Section
Seekers of Perl Wisdom