WeBWorK Main Forum

dangerous macros

Re: dangerous macros

by Sam Hathaway -
Number of replies: 0

As the recently-improved docs for dangerousMacros.pl state:

dangerousMacros.pl contains macros that use potentially dangerous functions like require and eval. They can reference disk files for reading and writing, create links, and execute commands.

"dangerous" isn't really the best name for these -- think of them as "privileged" macros.