Re: Perl Query - Conversion of EXE file



Hi Dharshana,

Just Zipping the file will wont work. You have to include them in program
with 'use" or 'require'. Try to do that.

Rajeev


On 12/1/06, Dharshana Eswaran <dharshana.ve@xxxxxxxxx> wrote:

Hi Randal,

I am trying to generate an exe file from few perl programs.

I have 4 files which are main.pl, subroutine1.pl, subroutine2.pl and
subroutine3.pl.

main.pl file is the main program and it depends on the other subroutine
files for data.

So i tried zipping it using winzip and ran
> pp -o foldername.exe foldername.zip

the exe file gets created as foldername.exe but when i tried runing it ,
it
flags an error saying
"Usage: D:\Perl\foldername.exe script_file_name."

Can i know how to create the EXE file with all the files together?

Thanks and Regards,
Dharshana

On 28 Nov 2006 16:10:08 -0800, Randal L. Schwartz <merlyn@xxxxxxxxxxxxxx>
wrote:
>
> >>>>> ""Dharshana" == "Dharshana Eswaran" <dharshana.ve@xxxxxxxxx>
writes:
>
> "Dharshana> I am in search of a way to convert Perl Program to EXE file.
> So that it can
> "Dharshana> be run anywhere even without installing Perl.
>
> See "PAR" in the CPAN.
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
> 0095
> <merlyn@xxxxxxxxxxxxxx> <URL:http://www.stonehenge.com/merlyn/>
> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
> See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
> training!
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@xxxxxxxx
> For additional commands, e-mail: beginners-help@xxxxxxxx
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>




Relevant Pages

  • Re: Perl Query - Conversion of EXE file
    ... I am trying to generate an exe file from few perl programs. ... Can i know how to create the EXE file with all the files together? ... "Dharshana> I am in search of a way to convert Perl Program to EXE file. ... Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. ...
    (perl.beginners)
  • Re: Perl Query - Conversion of EXE file
    ... I am trying to generate an exe file from few perl programs. ... When it comes to wine, women and song, wizards are allowed ...
    (perl.beginners)
  • Usage of PAR (Perl ARchive Toolkit)
    ... I am trying to generate an exe file from few perl programs. ... flags an error saying ... Can i know how to create the EXE file with all the files together? ...
    (perl.beginners)
  • Re: Perl Query - Conversion of EXE file
    ... On 12/4/06, Jenda Krynicky wrote: ... > I am trying to generate an exe file from few perl programs. ... I learnt that zipping wont help me and i tried the way you specified, ...
    (perl.beginners)