IO.pl - Input/optput macros that require access to the problem environment.
See notes in the WeBWorK::PG::Translator manpage.
send_mail_to($address, subject=>$subject, body=>$body)
Send an email message with the subject $subject and body $body to the address $address. This used to be used by mail_answers_to in PGbasicmacros.pl, but it no longer is. Don't use this, I tell yah!
$path = getCourseTempDirectory()
Returns the path to the current course's temporary directory.
$path = surePathToTmpFile($path);
Creates all of the intermediate directories between the directory specified by
getCourseTempDirectory() and file specified in $path.
If $path begins with the path returned by getCourseTempDirectory(), then the path is treated as absolute. Otherwise, the path is treated as relative the the course temp directory.