Errors parsing PGML: Error evaluating command: Can't locate object method "buttons" via package "True" (perhaps you forgot to load "True"?).
Here is the relevant code. Also, I am loading the parserRadioButtons.pl macro; I just haven't included it here.
$answer = RadioButtons(["True", "False"], "True");
#############################
# Main Text
# Places the following information in column1 (the leftmost) of the layout table.
$column1 = PGML::Format(<<END_PGML);
True or False: Is this a WeBWorK graph?
[@ $answer->buttons() @]*
Template Details: This graph utilizes the WeBWorK graphing utility. To change
the function graphed, follow the directions in the code.
END_PGML
# Places the graph image in column2 (the rightmost) of the layout table.
$column2 = image(insertGraph($gr), width=>$graphImageWidth, height=>$graphImageHeight, tex_size=>700).
$BR.$BCENTER.$BR."Graph of \( y = f(x) \)".$ECENTER;
#-ENDULETH-#
TEXT(ColumnTable($column1, $column2, indent => 0, separation => 30, valign => "TOP"));