## WeBWorK Problems

### problemPanic.pl

by Kenneth Appel -
Number of replies: 1
I am having difficulty getting problemPanic.pl to work and
think that I have narrowed things down.

Putting in the panic button causes no difficulty and if I just
put it in the problem works fine. When I try to add the
if($panic) section I get errors that I cannot figure out. In particular, I added the following part immediately after an END_TEXT and before the answers to an otherwise working problem (which had an operating) panic button. if ($panic) {
BEGIN_TEXT
Hint: Such a set of (x,y) pairs is a function if the same value x never appears with two different values of y.
END_TEXT }

[I did not see the right curly bracket in the directions, but
if I did not put it in things seemed worse.]

Davide