Apr 8, 2010, 9:13 PM
Post #1 of 2
How to make a EXE of a PL with included refrences.
Here is a intresting scenario. Scripts named,
'some code here
Func1 and Func2 contain,
'some code here.
There is a situation where i need to execute the perl script on machines which do not have perl installed. In broader terms lets say there is a request from a business team or analysts who simply work on marketing/product deployments to explain much to the client.Under these circumstances wherein the person is pretty apprehensive to install perl because he thinks it may upset something else. Now, we can argue endlessly on this convincing him to install but there is no point. So, I felt we should give just the exe and that should do the required tasks.
I searched, researched over the web only to find Perl2Exe. However that throws a error when i try to execute the driver.exe. It says "Undefined Subroutine &main:XML::Parser" and so forth. I tried all that they said, by inculding #Perl2exe_include..blah blah blah...but it still does not work.
I looked at PAR, PP, but i am unable to understand how to use it. Can anyone help me ?
Would also appreciate suggestions or any other methods available to achieve the above task.