Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Can someone debug this for me?
if (param()) { my $name = param("name"); my $email = param("email"); my $phone = param("phone"); my $url = param("url"); my $requests = param("requests"); if ($name ne "") { if ($email ne "") { if ($requests ne "") { print "very good!"; } else { print "please leave a message"; } else { print "please enter your email"; } else { print "please enter your name"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Syntax errors with {s
by Limbic~Region (Chancellor) on Oct 10, 2004 at 17:46 UTC | |
|
Re: Syntax errors with {s
by sulfericacid (Deacon) on Oct 10, 2004 at 17:46 UTC | |
by ikegami (Patriarch) on Oct 10, 2004 at 18:47 UTC | |
by sulfericacid (Deacon) on Oct 10, 2004 at 19:19 UTC | |
|
Re: Syntax errors with {s
by davido (Cardinal) on Oct 11, 2004 at 02:12 UTC | |
|
Re: Syntax errors with {s
by tachyon (Chancellor) on Oct 10, 2004 at 22:46 UTC | |
|
Re: Syntax errors with {s
by TedPride (Priest) on Oct 10, 2004 at 22:45 UTC | |
|
Re: Syntax errors with {s
by nimdokk (Vicar) on Oct 11, 2004 at 10:01 UTC | |
by Prior Nacre V (Hermit) on Oct 11, 2004 at 10:25 UTC |