Forum archive 2000-2006

Michael Gage - IO.pl

Michael Gage - IO.pl

by Arnold Pizer -
Number of replies: 0
inactiveTopicIO.pl topic started 9/14/2004; 2:04:28 PM
last post 9/14/2004; 2:04:28 PM
userMichael Gage - IO.pl  blueArrow
9/14/2004; 2:04:28 PM (reads: 1288, responses: 0)


NAME

IO.pl - Temporary location for IO functions that need access to the problem environment. Formerly defined in IO.pm

See notes in Translator.pm

surePathToTmpFile

    surePathToTmpFile($path)
Returns: $path

Defined in FILE.pl

Creates all of the subdirectories between the directory specified by &getCourseTempDirectory and the address of the path.

Uses

    &createDirectory($path,$Global::tmp_directory_permission, $Global::numericalGroupID)

The path may begin with the correct path to the temporary directory. Any other prefix causes a path relative to the temporary directory to be created.

The quality of the error checking could be improved. :-)

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

<| Post or View Comments |>