So... not sure about binding. I tried to bind my Dungeon of Danger program. It says it was successful, but when I run it, it complains about a duplicate subroutine (which is all the way at the end of the program).
However, if I run the basic code, it works fine. I'm importing two other files (neither of which have this subroutine it's complaining about).
Any ideas on that one?
Ah. Never mind. For some reason I had it as "export sub" even though it was in the main file. Removing 'export' got it to work. Seems a bit strange to me, but there it is.
However, if I run the basic code, it works fine. I'm importing two other files (neither of which have this subroutine it's complaining about).
Any ideas on that one?
Ah. Never mind. For some reason I had it as "export sub" even though it was in the main file. Removing 'export' got it to work. Seems a bit strange to me, but there it is.