WeBWorK::Utils::Tasks - This is an inappropriately named package. It used to render problems which is not really a task. Now the only this it provides are utilities for creating fake database records.
use WeBWorK::Utils::Tasks qw(
fake_set
fake_set_version
fake_problem
fake_user
);
This module provides functions which are useful for taking problems which are not part of any set and making live versions of them, or loading them into the editor.
fake_set($db);
Given a database, make a temporary problem set for that database.
fake_problem($db);
fake_problem($db, problem_seed=>$seed);
Make a temporary problem for the given database. If a problem seed is not specified, 0 is used.
fake_user($db);
Make a temporary user for the given database.