There we go! I used Davide's last suggestion, might as well use a similar format to other WeBWorK macros. Thanks a lot for the help!
WeBWorK Main Forum
perl parameter passing help
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day