|Pathologically Eclectic Rubbish Lister|
New Monksby tachyon (Chancellor)
|on Jun 09, 2001 at 02:01 UTC||Need Help??|
Welcome to the Monastery!
This node has been developed as a collaborative effort by the Perl Monks to help people who are new to Perl and may be unfamiliar with online forums. New posters to perl monks may (in the fullness of time) be sent a link to here to provide a useful entry point to all things Monastery and Perl. This is our attempt to help newcomers get the most out of the monastery and a language we love.
Monastery Specific Information
1. Instant answers for common Perl problemsPerl Monks has its own extensive Question and Answer section which has a different focus from the standard Perl FAQ. Most common perl coding problems are addressed in these two documents.
2. Please, please, please use the following
#!/usr/bin/perl -w # "-w" turns on all sorts of warnings about probable errors.
3. Getting AnswersTo get the fastest, friendliest, most useful answer we recommend you read these:
How to get the most of your question from the monks | Before You Post ...
4. Finding helpThere are a number of resources at the monastery for new users:
Guide to the Monastery | Perl Monks Site FAQ | Tutorials
5. SuperSearchSuper Search is an online Perl Monks utility that allows you to comprehensively search the Monastery for answers.
6. Just who/what are Perl Monks?Basically the Monks are a group of individuals from across the globe who share a common interest in Perl. All are welcome and experience levels range from novice to guru. Everyone gets a home node that they are free to decorate as they see fit. You may like to check out some of the home nodes of our resident gurus, they are as eclectic as Perl itself but contain a wealth of knowledge and experience. You will find them here: Saints in our Book. For extensive link lists try ybiC, merlyn, or outside links for starters.
General Perl Information
7. Do you want the latest version of Perl?You can get a binary copy of Perl, ready to install, for almost any platform here. If you want to compile the source yourself go here.
8. Are you looking for a good editor, IDE, debugger, tutorial or book?You will find an extensive list of editors/IDEs, books and more here.
9. Are you trying to get a CGI script working?The web and CGI is probably the most common reason for people to discover Perl. The leading block of reusable code for CGI purposes is CGI.pm. Good entry points to all things CGI.pm, and why you should be using it are: use CGI or die and no excuses for not using CGI.pm. If you are having problems with a CGI script, look through CGI Help Guide and the idiots guide to CGI.
10. Are you checking the return values from the functions built in to perl?Most of the file and system functions set $! and have return values that you can test thus:
open(FILE, "</file.txt") or die "Error opening /file.txt Perl says: $!\n";$! will contain an error message that will give you more information on where your program is going wrong. The perlfunc man page will give you more information on the return values from functions.
11. Have you discovered all the free documentation?As well as being a part of the standard Perl distribution (ie installed on your system with Perl) the man pages are available at the Library. Depending on you Perl distribution they may or may not be available in html format for ease of browsing. Read the installation documentation, look for /perl/html/index.html, or try typing "perldoc perldoc" at a command prompt.
Other excellent places to go for the online Perl documentation and tutorials are:
12. Have you dicovered the power of CPAN and Perl modules?You may find there is already a Perl module to satisfy your needs. Many thousands of free reusable Perl modules are available for immediate download and use from CPAN - the Comprehensive Perl Archive Network. These modules provide code to do almost anything you can imagine, usually written by a person with specific expertise in that particular area. See the big list here for details.
Some of the benefits of using modules include speeding development time, and increased reliability. As many modules have been widely used many of the bugs have already been ironed out for you. Modules are generally updated with bug fixes so maintenance becomes as easy as installing the new module.
As of Jun 10, 2001 the following monks have all contributed to this document : tachyon, petdance, LD2, VSarkiss, jptxs, Vizjerai, Brovnik, ar0n , myocom, boo_radley, TStanley, perigeeV, converter, frag, ZZamboni, arhuman, mpolo, kudra, marcink, tilly, Abigail, Vynce, Lexicon, mpolo, Odud. Thank you all. Increasingly loosely based on a c.l.p.m. document by Nathan Torkington.