![]() |
|||||
![]() |
To see if you have Perl installed on your computer you need to get to a command prompt. To get this, it depends on your operating system. If you have Unix or Linux, simple log in and you’ll have access to the command prompt. If you have a graphical interface instead, after the log in you need to open a terminal window in order to have access to the command prompt. and you’ll receive either the message "command not found" which means perhaps you must install Perl, or Perl’s version number. Check my new How To Tutorial eBooks (PDF format): to see a lot of fully commented examples that help you use the Perl statements and the Perl buit-in functions in your scripts. Install Perl on Linux First, you need a copy of Perl source bundle and you can download a stable version from the site "http://www.perl.com". At the moment I am writing these words, I found available the archive perl-5.8.8.tar.gz. You also need an ANSI C compiler, but don’t worry about this, Perl’s configuration program will check for one. If it will not find it, you can install a prebuilt version or install the C compiler supplied by your OS vendor, or for a free C compiler try "http://gcc.gnu.org/". Now, get a command prompt and enter the following commands: and wait the end of decompression. If you don’t have the gunzip decompression program, you can download gzip bundle from http://www.gnu.org. After the Perl configuration step, you must build Perl by typing in the following command: After this step, you can verify Perl’s installation, running again the following command at the command prompt: Install Perl on Windows The best idea for installing Perl under Windows is to use ActivePerl – the worldwide standard for Perl on Windows. The free ActivePerl binary distribution includes core Perl, popular modules, the Perl Package Manager (PPM), and complete documentation. You can download it from "http://www.activestate.com" and install it on your computer – the distribution is self-installing and the installation process is just the same as the one you used for other similar windows applications. Don't forget to check my new How To Tutorial eBooks (PDF format): to see a lot of fully commented examples that help you use the Perl statements and the Perl buit-in functions in your scripts. (regarding tips and tricks to manipulate multidimensional arrays and hashes in Perl) and you'll receive a link to download for FREE my Perl chomp Function Tutorial eBook (a $7.50 value), it's a bonus for you and I hope you'll enjoy it. You can see its Table of Contents here (if you subscribe to my free newsletter, you don't have to pay for this eBook or use your paypal account). NEW!!! Do you want more information about the basic Perl topics? Check my new "Perl How To" Tutorial eBooks page where I'll answer the most frequent questions regarding some topics : Table of Contents: A Perl Script Install Perl Running Perl Perl Data Types Perl Variables Perl Operators Perl Lists Perl Arrays Array Size Array Length Perl Hashes Perl Statements Perl if Perl unless Perl switch Perl while Perl do-while Perl until Perl do-until Perl for Perl foreach Built-in Perl Functions Functions by Category String Functions Array Functions Functions in alphabetical order chomp chop chr crypt defined grep hex index join lc lcfirst length map oct ord pack pop push qw reverse rindex scalar shift sort splice split substr uc undef unshift return from Install Perl to Perl Basics Hit the Alarm Clock! ![]()
|
||||