Solved

Can I Compile a Perl in WIN32

Posted on 1998-08-13
3
144 Views
Last Modified: 2010-03-05
Can I??
If we can compile a perl in windows, using what program??
where can i d/l it??
how can i used it??

THANKS
0
Comment
Question by:ichen
3 Comments
 
LVL 1

Author Comment

by:ichen
ID: 1209292
Edited text of question
0
 

Expert Comment

by:kaijen
ID: 1209293
You mean:
Run a perl script? -> Yes you can.
Compile a perl script directly to exe -> Not directly.
Compile a perl script to C -> Yes, in beta.

I recommend using ActivePerl at http://www.activestate.com.
Documentation is included.

Best regards,
Kai.
0
 
LVL 5

Accepted Solution

by:
b2pi earned 20 total points
ID: 1209294
Yes, you can.

If you want a binary distribution (Not recommended if you have either MS Visual C++ or Borland C++), get it from

http://www.perl.com/CPAN-local/ports/win32/Standard/x86/perl5.00402-bindist04-bc.zip

Also, while you're there, get the following

http://www.perl.com/CPAN-local/ports/win32/Standard/x86/perl5.00402-bindist04-bc.readme
http://www.perl.com/CPAN-local/ports/win32/Standard/x86/libwin32-0.12.zip
http://www.perl.com/CPAN-local/ports/win32/Standard/x86/libwin32-0.12.readme

Read the readme's, do what they say, you're set.

If you do have a compiler...

go and grab (Note that winzip will deal with *.tar.gz files)

http://www.perl.com/CPAN/src/latest.tar.gz

Also grab the following two files

http://www.perl.com/CPAN-local/ports/win32/Standard/x86/libwin32-0.12.zip
http://www.perl.com/CPAN-local/ports/win32/Standard/x86/libwin32-0.12.readme

unpack the latest.tar.gz, read and follow the directions in the file readme.Win32.
Then do the same thing with the libwin stuff, and Bob's your uncle!
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question