The following line of code:
Code: Select all
perl::Object q("IncidenceMatrix");
Sometimes, because "smalltest" as it is in the attachment with the line of code above causes the error,ERROR: Can't use string ("") as a subroutine ref while "strict refs" in use at /usr/local/share/polymake/perllib/Polymake/Struct.pm line 487, <GEN3> line 81.
while the program executes without problem, if you move the line to the end of the code where the blank line is.
Can anybody please help me with figuring out what is causing that error and how to get around it?
best regards and thanks in advance, Yue.