I have heard that strawberry perl has a built in compiler in it. I have no idea how to use it. Can someone help me to learn the syntax in command line compiling a per script. for example:

print "Hello, World!";
4 Years
Discussion Span
Last Post by mpersico

Are you asking for compiling a script or simply run a script? Perl allows you to either run its script or compile it for later use. If you are using comand line, you may need to read this. Though, I think you are using Windows, so it may be a bit different.


Strawberry Perl is a complete Perl development environment for Windows. It is "complete" in that it includes all the tools needed to build and install any Perl module. The tools include a 'C' compiler and a make command; think of it as a mini UNIX installation. What that means is that you should be able to install any CPAN module using the CPAN client, even if it includes 'C' code that has to be compiled. It does not refer to a Perl compiler. Once installed, you can run any perl script with the usual

perl foo

invocation. I suggest you download it, install it on your Windows box and play with it. Go see http://www.strawberryperl.com and read, esp. http://www.strawberryperl.com/releases.html

This article has been dead for over six months. Start a new discussion instead.
Be sure to adhere to our posting rules.