Sponsored Content
Full Discussion: Converting perl to exe
Top Forums Shell Programming and Scripting Converting perl to exe Post 302414485 by suvenduperl on Tuesday 20th of April 2010 09:09:45 AM
Old 04-20-2010
pludi thanks for your answer.

But still i am unable to get any idea from here.
I am not getting how to Install PAR and and how to use it.

I read that Activeperl will be useful for it.
So give some idea about activeperl and how to use it.
 

10 More Discussions You Might Find Interesting

1. Programming

how To edit exe to insert a serial no wich can be usd by runing exe

At time of installation I have to open the resource. and i have to insert a string serial number in the exe. please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies

2. Shell Programming and Scripting

PERL: perl 2 exe with Tk

How do i turn my TK perl program into an EXE using perl 2 exe. I did it as normal but the program dont run, it shuts itslef down (2 Replies)
Discussion started by: perleo
2 Replies

3. Shell Programming and Scripting

Converting Perl code to shell

I have a perl code that runs like Code I sub p { if ($d >= $D) {return} printf "%3s"x$d++," "; printf "%s%s\n",$_,$h{$_}?" ** ":""; if (!$h{$_}) { $h{$_}=1; map {p($_)} @{$s{$_}} } $d-- } ($Set,$Job,$Num,$D) = (@ARGV); map {shift} 0..3; (8 Replies)
Discussion started by: zainravi
8 Replies

4. Shell Programming and Scripting

Exe for perl script

Hi, how to create an exe out of a perl script.Even if it is possible how secure is it? Are there other softwares to decryprt a perl exe and get the source code out of it ? (7 Replies)
Discussion started by: Anuj8584
7 Replies

5. UNIX for Advanced & Expert Users

problem with converting time using perl

Hello, I have an AIX 5.3 system and i created a script to get the last login of users. The script goes like this: LAST_LOGIN=`lsuser -a time_last_login $cur_user` TIME_LOGIN=`perl -e 'print scalar localtime("$LAST_LOGIN")'` Actually what i do in these two lines is to set a variable... (2 Replies)
Discussion started by: omonoiatis9
2 Replies

6. Shell Programming and Scripting

Simple perl help - converting numbers

Hi friends, I'm very new to perl and got some requirement. I've input numbers which has size of 17 characters like below: -22500.0000000000 58750.00000000000 4944.000000000000 -900.000000000000 272.0000000000000 I need to convert these numbers from negative to positive and positive... (4 Replies)
Discussion started by: ganapati
4 Replies

7. Programming

Python[Issue in converting .py to .exe using py2exe

Hi Experts, Good morning. I am trying to convert my hello.py to hello .exe file. I followed the steps as mentioned in the documentation but getting errors in the end. Please help. What I did as below-- Created hello.py file print ("Hello world!") raw_input('') Then... (0 Replies)
Discussion started by: shekhar_4_u
0 Replies

8. Shell Programming and Scripting

Converting shell to Perl I run into shell built in function trap and need alternative in Perl

I am working on converting shell to Perl script. In shell we have built in function trap Do you know alternative in Perl or actually we don't need it? Thanks for contribution (3 Replies)
Discussion started by: digioleg54
3 Replies

9. UNIX for Beginners Questions & Answers

Converting awk to perl

Hello. I'm trying to convert an awk script I wrote to perl (which I just started self-teaching). I tried the a2p command but I couldn't make sense of most of it. Here was the awk code: BEGIN{ FS = "," print "NAME\tLOW\tHIGH\tAVERAGE" a=0 } { if(a==0){ a+=1 (1 Reply)
Discussion started by: Eric7giants
1 Replies

10. UNIX for Beginners Questions & Answers

Converting awk to perl

Hello. I'm currently teaching myself Perl and was trying to turn an awk code that I had written into Perl. I have gotten stuck on a particular part and a2p has not helped me at all. The task was to take a .csv file containing a name, assignment type, score and points possible and compute it into a... (1 Reply)
Discussion started by: Eric7giants
1 Replies
Module::Install::PAR(3) 				User Contributed Perl Documentation				   Module::Install::PAR(3)

NAME
Module::Install::PAR - Module::Install Support for PAR::Dist packages SYNOPSIS
To offer your users the possibility to install binaries if we cannot compile an XS version of the module, you could use this simplistic stub: use inc::Module::Install; name 'Foo'; all_from 'lib/Foo.pm'; # Which CPAN directory do we fetch binaries from? par_base 'SMUELLER'; unless ( can_xs ) { my $okay = extract_par( fetch_par ); if (not $okay) { die "No compiler and no binary package found. Aborting. "; } } WriteAll; DESCRIPTION
This module adds a couple of directives to Module::Install related to installing and creating PAR::Dist distributions. par_base This directive sets the CPAN ID from whose CPAN directory to fetch binaries from. For example, you can choose to download binaries from http://www.cpan.org/authors/id/S/SM/SMUELLER/ or its ftp counterpart by writing: par_base 'SMUELLER'; By default, the name of the file to fetch is generated from the distribution name, its version, your platform name and your perl version concatenated with dashes. The directive, however, takes an optional second argument which specifies the name of the file to fetch. (Though "par_base" does not fetch files itself, see below.) par_base 'SMUELLER', 'foo'; Once "fetch_par" is called, the file 'foo' will be downloaded from SMUELLER's CPAN directory. (It doesn't exist.) The second argument could be used to fetch platform-agnostic binaries: par_base 'SMUELLER', "Some-Distribution-0.01.par"; (Documentation TODO: Use the previously defined distribution name and version in example.) fetch_par Fetches the .par file previously referenced in the documentation of the "par_base" directive. "fetch_par" can be used without arguments given the "par_base" directive was used before. It will return the name of the file it fetched. If the first argument is an URL or a CPAN user ID, the file is fetched from that directory unless an URL has been previously set. (Read that again.) If the second argument is a file name it is used as the name of the file to download. If the file could not be fetched, a suitable error message about no package being available, yada yada yada, is printed. You can turn this off by specifying a true third argument. # Try to fetch the package (see par_base) but # don't be verbose about failures my $file = fetch_par('', '', undef); extract_par Takes the name of a PAR::Dist archive file as first argument. The 'blib/' directory of this archive is extracted and the 'pm_to_blib' is created. Typical shorthand usage: extract_par( fetch_par ) or die "Could not install PAR::Dist archive."; make_par This directive requires PAR::Dist (version 0.03 or up) on your system. (And checks that it is available before continuing.) Creates a PAR::Dist archive from the 'blib/' subdirectory. First argument must be the name of the PAR::Dist archive to create. If your Makefile.PL has a "par_base" directive, the "make par" make target will be available. It uses this "make_par" directive internally, so on your development system, you can do this to create a .par binary archive for your platform: perl Makefile.PL make make par AUTHOR
Audrey Tang <cpan@audreyt.org> With documentation from Steffen Mueller <smueller@cpan.org> COPYRIGHT
Copyright (c) 2006. Audrey Tang. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html> perl v5.16.3 2012-03-01 Module::Install::PAR(3)
All times are GMT -4. The time now is 05:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy