Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

PERL exe file

by Asif123 (Initiate)
on Jun 18, 2014 at 11:15 UTC ( #1090296=perlquestion: print w/ replies, xml ) Need Help??
Asif123 has asked for the wisdom of the Perl Monks concerning the following question:

Hi to every one, I have written some scripts in PERL which generates the graphical output. First I was thinking to develop a web application but now my supervisor asked me to make its single exe file. Currently I have 4 scripts files. In Perl can I develop a standalone desktop software? with buttons and menu. I will really appreciate if some one share a good tutorial. I am from Biological science so don't have experiences in years for programming. Thanks

Comment on PERL exe file
Re: PERL exe file
by marto (Chancellor) on Jun 18, 2014 at 11:22 UTC

    "First I was thinking to develop a web application but now my supervisor asked me to make its single exe file."

    You can use pp to create a single executable containing your scripts, required modules, data etc. The documentation is good (note the -x option), also related: PAR::Tutorial & par.perl.org. This question is asked reasonably frequently here, a Super Search will find many previous discussions on this topic. Understand that this will not hide your source code from anyone.

Re: PERL exe file
by RonW (Pilgrim) on Jun 18, 2014 at 16:38 UTC

    As marto mentioned, pp (part of the PAR package) helps you make a self-contained executable. you do have to test it on several other PCs because pp can't always find all the needed DLLs, so you may have to manually add them.

    As for adding buttons and menus, there are several sets of modules for creating graphical user interfaces in Perl. I happen to use Tk. (Recently, I shared my Menu::Simple module that builds menus for Tk (and includes an example program).)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1090296]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-09-02 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (20 votes), past polls