WeBWorKdocs

sq_webwork:


Home
Current UR courses
Visitor page
Intro to WeBWorK
WeBWorK 2 Twiki
WW Community
Grant Support & awards
Discussion group
Problem library
Write/modify problems
Create & manage course
Tutorial on running a course
HowTos
FAQ
WeBWorK2 FAQ
Software Download
How to Install WW server
Feedback
Site Map
Change preferences
Change password





Prev | Next | pod


NAME

IO.pl - Input/optput macros that require access to the problem environment.


DESCRIPTION

See notes in the WeBWorK::PG::Translator manpage.


MACROS

[DEPRECATED] send_mail_to

    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!

getCourseTempDirectory

    $path = getCourseTempDirectory()

Returns the path to the current course's temporary directory.

surePathToTmpFile

    $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.

File path = /ww/webwork/pg/macros/IO.pl

<| Post or View Comments |>


Prev | Next | pod

Last update: Tuesday, September 14, 2004 at 2:04:28 PM.
This site maintained using Manila and Frontier software.