WebAssign

Perl Variables and Functions

Most question behaviors in WebAssign are controlled by variables or functions in Perl, a programming language. You do not need to learn Perl to write good questions in WebAssign using the documentation and examples. But, knowing some basics about Perl and how it is implemented in WebAssign questions lets you create more sophisticated questions that use randomized values, provide meaningful feedback based on your student's answers, or grade answers automatically in novel ways.