A Question of Binding
#1
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.
Reply


Messages In This Thread
A Question of Binding - by MrEntropy - 04-23-2020, 07:46 AM
RE: A Question of Binding - by lorglas - 05-02-2020, 04:57 AM
RE: A Question of Binding - by MrEntropy - 05-03-2020, 10:14 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)
Free Web Hosting