Perl Variables for Fill-in-the-Blank Questions

The following reserved Perl variables are used to return information or set behaviors in questions that you create in WebAssign.

Variable

Description

$CASE

Make answer case-sensitive. Also for Java mode.

$SPACE

Make answer space-sensitive. Also for Java mode.

$REDUCE

Ignores multiple, preceding, and trailing whitespace in responses. Also for Java mode.

$size

Sets the width of the answer box, for example, $size=20.