Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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

Replies are listed 'Best First'.
Re: PERL exe file
by marto (Bishop) 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 & 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 (Vicar) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1090296]
Approved by marto
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2018-03-19 01:53 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (231 votes). Check out past polls.