Where can I find information on writing and running PERL scripts?

0
Posted

Where can I find information on writing and running PERL scripts?

0

First of all, if you have Perl properly installed on your computer, use the built-in documentation. It comes in a format called POD (Plain Old Documentation). The `chapters’ are files that are called perl*, such as perlfaq, perlintro, perldata, etc. The main index is called simply `perl’. You can access it by typing perldoc perl If it doesn’t work, you may try running man perl if you’re on a Unix machine. If you’re on a Windows machine with ActivePerl, go to Start -> Programs -> ActiveState ActivePerl -> Documentation. If you still can’t find it there try these websites: http://www.perl.com http://www.activeperl.com (click on “support”, then “documentation”) http://www.perlmonks.org (an online Perl community) Useful chapters include: perldata – defining variables perlfunc – built in functions (called perlfun in older versions) perlsyn – syntax (mostly flow controls — if, for, while, etc.) perlsub – defining your own subroutines (functions) perlre – using regular expressions (a must-re