I have a small perl snippet which needs to be converted to exe for User compatibility. But the problem is "Perlapp" what i have to convert pl to exe is Trial Version.So the exe what i generated is getting expired after 20 days. Perl2exe and par is not that much effective as im using GUI in my script. So if someone has perlapp can you please build the below code to an executable and give me?

#!/usr/bin/perl #use strict; use Tkx; use Digest::CRC;; use Win32::HideConsole; hide_console; sub trim($); my $mw = Tkx::widget->new('.'); $mw->g_wm_title("CRC32 Calculator"); $mw->g_wm_minsize( 100, 200 ); my $asciicrc,$hexcrc; # Command Buttons my $asciiconversion = $mw->new_ttk__button( -text => "ASCII Conversion +", -width => 20, -command => sub { ascii(); } ); Tkx::grid( $asciiconversion, -row => 1, -columnspan => 1, -padx => 5, +-pady => 5 ); my $hexconversion = $mw->new_ttk__button( -text => "HEX Conversion", - +width => 20, -command => sub { hexa(); } ); Tkx::grid( $hexconversion, -row => 2, -columnspan => 2, -padx => 0, -p +ady => 0 ); # Text Boxes my $text; my $input = $mw->new_tk__text( -width => 40, -height => 5, -state => " +normal", -wrap => "none" ); my $output = $mw->new_tk__text( -width => 40, -height => 5, -state => +"normal", -wrap => "none" ); Tkx::grid( $input, -row => 3, -columnspan => 1, -padx => 10, -pady => +10 ); Tkx::grid( $output, -row => 4, -columnspan => 2, -padx => 10, -pady => + 10 ); Tkx::MainLoop(); sub ascii { my $asciicontent = $input->get("1.0", "end"); my $asciitrim = asciitrimm($asciicontent)."\n"; sub asciitrimm($) { my $asciicontent = shift; $asciicontent =~ s/^\s+//; $asciicontent =~ s/\s+$//; $asciicrc = Digest::CRC->new( type => "crc32" ) ; $asciicrc->add($asciicontent); my $asciiout=$asciicrc->hexdigest(); $output->m_insert('end', "$asciicontent$asciiout\n"); $output->m_yview('end'); } } sub hexa { my $hexcontent = $input->get("1.0", "end"); my $hextrim = hextrimm($hexcontent)."\n"; sub hextrimm($) { my $hexcontent = shift; $hexcontent =~ s/^\s+//; $hexcontent =~ s/\s+$//; $hexcrc = Digest::CRC->new(type=>"crc32");; my $hexout= $hexcrc->add( pack 'H*', $hexcontent)->hexdigest;; $output->m_insert('end', "$hexcontent$hexout\n"); $output->m_yview('end'); } }

PS:- Sorry monks i know that Perlmonks is for clarifying doubts and sharing knowledge but as Perlapp is too much costly im not in a position to afford it. Thanks.


In reply to PERLAPP - Converting Pl to exe file by krishnakumar.vengada

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.