Hi Folks
I've written a small Perl program that I'd like to release as freeware. It is configurable by changing variable values in a separate file called 'config.txt'. This is read into the Perl program using 'require "config.txt";'.
However, before I let the program loose onto the web I'd like to turn the Perl program into an .exe (or similar) as this allows it to be run without requiring the Perl compiler. I used a program called perl2exe and it worked fine. However, changes to config.txt no longer alter the exe program. I realise that this has something to do with the fact that the code has been compiled and is therefore no longer configurable.
Is there another way around this? How can I make my program executable but still continue to be able to change it's functionality by changing variables in config.txt?
Cheers,
Kenny.
I've written a small Perl program that I'd like to release as freeware. It is configurable by changing variable values in a separate file called 'config.txt'. This is read into the Perl program using 'require "config.txt";'.
However, before I let the program loose onto the web I'd like to turn the Perl program into an .exe (or similar) as this allows it to be run without requiring the Perl compiler. I used a program called perl2exe and it worked fine. However, changes to config.txt no longer alter the exe program. I realise that this has something to do with the fact that the code has been compiled and is therefore no longer configurable.
Is there another way around this? How can I make my program executable but still continue to be able to change it's functionality by changing variables in config.txt?
Cheers,
Kenny.