Before you start editing, make sure you RTFInsurgency Wiki:Editing.
Perl
From Insurgency Wiki
Perl is a dynamic programming language created by Larry Wall and first released in 1987. Perl borrows features from a variety of other languages including C, shell scripting (sh), AWK, sed and Lisp.[1]
Structurally, Perl is a brainfuck comparable to that of brainfuck.
For moar info, see http://anonym.to/http://en.wikipedia.org/wiki/Perl
Some of the tools the Insurgency uses, such as mt_pulse.pl, use Perl. Linux and BSD distros usually include Perl as a default package. Windows and Macfags should get ActivePerl from the link below.
Contents |
[edit] Perl Script Fagg0t land
[edit] How to get perl
Windows
1.) Download the Active state perl installer from;here
2.) Run the program and follow the instructions
3.) Open Command prompt and run "perl -v", You should see "The is perl.." This means people is installed properly.
Linux
On Ubuntu/Debian you can simply use the "apt-get" command
sudo apt-get install perl
On Redhat/fedora
sudo yum install perl
on suse
sudo yast install perl
on Arch Linux
sudo pacman -S perl
on Gentoo
sudo emerge install perl
If this fails to work you will have to compile from source.
i. Download Perl 5.8.1 from :
http://www.perl.com/CPAN/src/stable.tar.gz
ii. Remove the old Perl from the system before building
# rm -rf /usr/lib/perl5
p/s : Suggestion from jeremy
# mv /usr/lib/perl5 /root/perl5backup
Installation :
i. # tar xvzf stable.tar.gz
ii. # cd perl-5.8.1
iii. For more information , # ./Configure --help
# ./Configure -de \
-Dprefix=/usr \
-Dcccdlflags='-fPIC' \
-Darchname=i386-linux
iv. # make
v. # make test
vi. # make install
Post Installation :
i. # perl -MCPAN -e shell
Just Follow step by step. Use all the Default Answer.
ii. install Bundle::CPAN
iii. install Bundle::LWP
iv. install Bundle::DBI
v. install DBD::mysql
To test the install run.
perl -v
or
GET -ed www.yahoo.com
[edit] External links
- Strawberry Perl
- ActivePerl
- Bunch of Perl ports, if ActivePerl doesn't suit you for whatever reason
(If ActivePearl doesn't work, try NetBeans IDE from http://www.sun.com/ and choose the Pearl bundle)
[edit] Links from Wikipedia article
- Perl.org - Official Perl website
- Perldoc at Perl.org - online Perl documentation
- The Perl Beginners' Site (Perl-Begin) - aims to be a first stop for introducing and advocating Perl.
- Perl 5 Wiki - The official Perl 5 wiki
- perl5-porters mailing list archive
- Perl development
- IndigoPerl - another distribution of Perl for Microsoft Windows
- The origin of Perl - "Stability. Speed. Simplicity. perl1 is here."
- The Perl Timeline
- Perl related websites in the Open Directory Project
- The Perl Review - Current print magazine about Perl.
- The Perl Journal online - The original Perl print periodical.
- Ten Perl Myths - O'Reilly
- About Perl - Learn about Perl and how it works
- Perl/Tk Debugger - Open Source Perl Debugger Based on Tk Library.
- Perl GPU Performance - C vs Perl on Vista and Linux; Perl vs Python.

