Thank you all for your help with this. 
 
I have a question about proper protocol for this list. When I reply to the 
list, should I also copy individuals who answered my question?
 
I thought I needed to make my program executable because it will be a scheduled 
task on a Windows computer. The wizard was asking for an application to launch. 
So I just tried using perl myProgram.pl and it worked! So maybe this time I 
won't need the app builder. Although, my user will have to have perl installed 
on the server. That's not a very elegant solution.
 
My program is using NET::FTP to get a file. Everything works fine, but the 
format of the file is not correct after it has been ftped. The file was created 
on a VMS machine and is being ftped to a Windows computer. It is a data file of 
records with comma-delimited fields and carriage returns to end each line. But 
when I open the file on the Windows computer, the lines are terminated by the 
comma after each field. I thought if I changed the transmission mode to ascii, 
maybe that would help. So, I wrote $ftp->ascii and that won't compile! Does 
anyone have experienced with these kinds of issues? My code is below.
 
Thank you,
Kathy
 
use Net::FTP;
 
$ftp = Net::FTP->new("aaa.bbb.org", Debug =>0) or die "Cannot connect to 
aaa.bbb.org: $@"; 
$ftp->ascii
$ftp->login("login","passwd") or die "Cannot login", $ftp->message;
$ftp->get("CWXTRCT_101905.TXT;1") or die "get failed ", $ftp->message;
$ftp->quit;
close OUT;
 

Octavian Rasnita <[EMAIL PROTECTED]> wrote:
I have used ActiveState perlapp, and it works the best.
Indigo Star perl2exe works fine, but I found that it might give errors.
Maybe I was doing something wrong.
PAR is a free package that can create .exe files that can be downloaded from
CPAN. It works pretty well, but I found that it creates bigger files.

Teddy

----- Original Message ----- 
From: "Timothy Johnson" 
To: "kathyjjja" ; 
Sent: Tuesday, October 18, 2005 10:55 PM
Subject: RE: How to build an executable on Windows



There are three products that I know of, but two of them cost money.

ActiveState has a great Perl Dev Kit that includes PerlApp, which will
package your perl script, modules, and interpreter into an executable.
It works very well. You also get some other great utilities with it,
like PerlSvc, which allows you to create PerlApp-style executables that
run as services.

There is also a product called Perl2Exe by IndigoStar which I am told
works well, but I haven't used it.

Neither of these compile the Perl code, they both just package it in a
way that is redistributable, so the size of the executables can be
fairly large (500KB to 2MB), depending on which modules you use and
whether they include large DLLs).

There is also PAR on CPAN, but I haven't used that either:
http://search.cpan.org/~autrijus/PAR-0.85/lib/PAR/Tutorial.pod



-----Original Message-----
From: kathyjjja [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 18, 2005 12:49 PM
To: beginners@perl.org
Subject: How to build an executable on Windows

Hello everyone,

I am running Active State Perl on my PC and want to build a .exe. Does
anyone know the command for that?

Thanks,
Kathy


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





                
---------------------------------
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Reply via email to