home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Information / Languages / Perl / perl-faq⁄part0 next >
Encoding:
Internet Message Format  |  1994-12-03  |  9.7 KB  |  [TEXT/R*ch]

  1. Path: bloom-beacon.mit.edu!senator-bedfellow.mit.edu!faqserv
  2. From: spp@vx.com
  3. Newsgroups: comp.lang.perl,comp.answers,news.answers
  4. Subject: comp.lang.perl FAQ 0/5 - Introduction
  5. Supersedes: <perl-faq/part0_784894001@rtfm.mit.edu>
  6. Followup-To: poster
  7. Date: 30 Nov 1994 09:40:30 GMT
  8. Organization: none
  9. Lines: 187
  10. Approved: news-answers-request@MIT.EDU
  11. Distribution: world
  12. Expires: 28 Dec 1994 09:38:48 GMT
  13. Message-ID: <perl-faq/part0_786188328@rtfm.mit.edu>
  14. NNTP-Posting-Host: bloom-picayune.mit.edu
  15. X-Last-Updated: 1994/11/14
  16. Originator: faqserv@bloom-picayune.MIT.EDU
  17. Xref: bloom-beacon.mit.edu comp.lang.perl:27002 comp.answers:8609 news.answers:30223
  18.  
  19. Archive-name: perl-faq/part0
  20. Version: $Id: perl-intro,v 2.2 1994/11/07 18:05:12 spp Exp spp $
  21. Posting-Frequency: bi-weekly
  22.  
  23. Hear ye, hear ye.  This most honourable session on Perl Frequently Asked
  24. Questions is hereby called to order.  Please stand and show your respect
  25. for those that have gone before us.  Let us honour Larry Wall*, the father
  26. of Perl who unselfishly spends vast amounts of time reviewing this document
  27. for veracity and accuracy.  Let us also honour Tom Christiansen* without
  28. whom this document would not exist.  Finally, let us collectively honour
  29. the members of comp.lang.perl who have offered much advice and corrections
  30. to this list.
  31.  
  32. This article details the contents of the most Frequently Asked Questions in
  33. comp.lang.perl, a Usenet newsgroup devoted to the Perl programming language.
  34. There are five pieces following this, the general information questions in
  35. part1, part2 and part3 and the programming ones in part4 and part5.
  36.  
  37. If this is your first exposure to Perl, please read this document and the 
  38. perl(1) man page before asking questions in comp.lang.perl.  If you're using
  39. v4 perl, that page contains all you need to know (or at least enough to
  40. get started).  If you're using v5 perl, that page will show you where to
  41. look for specific information.  When we refer to perlmod(1), it means the
  42. "perlmod" man page in section "1" of the manual, just as Foo(3pm), that
  43. means it's the "Foo" man page in section "3pm" (perl modules) of the
  44. library.  The perl install does NOT automatically install the module man
  45. pages for you, however.
  46.  
  47. Hopefully the questions herein are asked enough that considerable net
  48. bandwidth can be saved by looking here before asking.  Also, hopefully
  49. there is enough information contained here that someone who has never
  50. heard of Perl can read this and at least have some sort of idea as to what
  51. Perl is.  If this is your first exposure to Perl, please read this and the
  52. Perl(1) man page before asking questions in comp.lang.perl.
  53.  
  54. Some questions in this group aren't really about Perl, but rather about
  55. system-specific issues.  You might also consult the Most Frequently Asked
  56. Questions list in comp.unix.questions for answers to this type of question.
  57.  
  58. The current version of perl is 5.000, which emerged into the world on 16
  59. October, 1994.  The previous non-beta version was 4.036 (version 4,
  60. patchlevel 36).  Many of these questions were written for perl4, however a
  61. lot of perl5 information has also been added.  Perl5 only features will be
  62. clearly marked as such, so as not to cause confusion for those still using
  63. perl4.  You should upgrade to perl5 as soon as possible though (see below).
  64.  
  65. This list was initially written, and still hacked upon, by Tom
  66. Christiansen*.  However, due to his erratic schedule, it is currently
  67. maintained by Stephen P Potter*.  First person singular pronouns, when not
  68. in quoted postings, generally are Tom talking. 
  69.  
  70. This FAQ is archived on ftp.cis.ufl.edu [128.227.100.198] in the file
  71. pub/perl/doc/FAQ, as well as on rtfm.mit.edu [18.181.0.24] in
  72. /pub/usenet/comp.lang.perl.  If you have any suggested additions or
  73. corrections to this article, please send them to <perlfaq@perl.com>. 
  74.  
  75.  
  76. Part 1 - General Information and Availability
  77. 1.1) What is Perl?
  78. 1.2) What are perl4 and perl5?
  79. 1.3) What features does perl5 provide over perl4?
  80. 1.4) Where can I get docs on perl5?
  81. 1.5) Will perl5 break my perl4 scripts?
  82. 1.6) When will Perl stabiliize?
  83. 1.7) What's the difference between "perl" and "Perl"?
  84. 1.8) Is it a perl program or a perl script?
  85. 1.9) Is perl difficult to learn?
  86. 1.10) Should I program everything in perl?
  87. 1.11) How does perl compare with other scripting languages, like 
  88.       REXX or Tcl?
  89. 1.12) Where can I get perl from over the Internet (FTP)?
  90. 1.13) How can I get perl via Email?
  91. 1.14) How can I get perl via UUCP?
  92. 1.15) Are there other ways of getting perl?
  93. 1.16) Has perl been ported to machine FOO?
  94. 1.17) How do I get perl to compile on Solaris?
  95. 1.18) How do I get perl to compile on NeXTs?
  96. 1.19) What extensions are available from Perl and where can I get them?
  97. 1.20) What is dbperl and where can I get it?
  98. 1.21) Which DBM should I use?
  99. 1.22) Is there an SNMP aware perl?
  100.  
  101.  
  102. Part 2 - Informational Sources
  103. 2.1) Is there a USENET group for perl?
  104. 2.2) Have any books or magazine articles been published about perl?
  105. 2.3) When will the Camel and Llama books be updated?
  106. 2.4) What FTP resources are available?
  107. 2.5) What WWW/gopher resources are available?
  108. 2.6) Can people who don't have access to USENET get comp.lang.perl?
  109. 2.7) Are archives of comp.lang.perl available?
  110. 2.8) Is there a WAIS server for comp.lang.perl?
  111. 2.9) What other sources of information about Perl or training are available?
  112. 2.10) Where can I get training classes on Perl?
  113. 2.11) What companies ship or use perl?
  114. 2.12) Is there commercial, third-party support for perl?
  115. 2.13) What is a JAPH?  What does "Will hack perl for ..." mean?
  116. 2.14) Where can I get a collection of Larry Wall witticisms?
  117. 2.15) What are the known bugs?
  118. 2.16) Where should I post bugs?
  119. 2.17) Where should I post source code?
  120. 2.18) Where can I learn about object-orienting Perl programming?
  121. 2.19) Where can I learn about linking C with Perl? [h2xs]
  122. 2.20) What is perl.com?
  123. 2.21) What do the asterisks (*) throughout the FAQ stand for?
  124.  
  125.  
  126. Part 3 - Programming Aids
  127. 3.1) How do I use perl interactively?
  128. 3.2) Is there a perl profiler?
  129. 3.3) Is there a yacc for perl?
  130. 3.4) Is there a pretty printer for perl?
  131. 3.5) There's an a2p and an s2p; why isn't there a p2c (perl to C)?
  132. 3.6) Where can I get a perl mode for emacs?
  133. 3.7) Is there a perl shell?
  134. 3.8) How can I use curses with perl?
  135. 3.9) How can I use X with perl?
  136. 3.10) Can I dynamically load C user routines?
  137. 3.11) What is undump and where can I get it?
  138. 3.12) How can I get '#!perl' to work under MS-DOS?
  139.  
  140.  
  141. Part 4 - General Programming, Regular Expressions (Regexp) and I/O
  142. 4.1) What are all these $@%*<> signs and how do I know when to use them?
  143. 4.2) Why do perl operators have different precedences than C operators?
  144. 4.3) What's the difference between dynamic and static (lexical) scoping?
  145. 4.4) What's the difference between deep and shallow binding?
  146. 4.5) How can I manipulate fixed-record-length files?
  147. 4.6) How can I make a file handle local to a subroutine?
  148. 4.7) How can I sleep or alarm for under a second?
  149. 4.8) How can I do an atexit() or setjmp()/longjmp() in perl? 
  150.       (Exception handling)
  151. 4.9) How can I catch signals in perl?
  152. 4.10) Why doesn't perl interpret my octal data octally?
  153. 4.11) How can I compare two date strings?
  154. 4.12) How can I find the Julian Day?
  155. 4.13) What's the fastest way to code up a given task in perl?
  156. 4.14) Do I always/never have to quote my strings or use semicolons?
  157. 4.15) What is variable suicide and how can I prevent it?
  158. 4.16) What does "Malformed command links" mean?
  159. 4.17) How can I set up a footer format to be used with write()?
  160. 4.18) Why does my perl program keep growing in size?
  161. 4.19) Can I do RPC in perl?
  162. 4.20) How can I quote a variable to use in a regexp?
  163. 4.21) How can I change the first N letters of a string?
  164. 4.22) Can I use regular expressions to match balanced text?
  165. 4.23) What does it mean that regexps are greedy?  How do I get around it?
  166. 4.24) How do I use a regular expression to strip C style comments from a
  167.       file?
  168. 4.25) Why doesn't "local($foo) = <FILE>;" work correctly?
  169. 4.26) How can I detect keyboard input without reading it?
  170. 4.27) How can I read a single character from the keyboard under UNIX and
  171.       DOS?
  172. 4.28) How can I get input from the keyboard without it echoing to the
  173.       screen?
  174. 4.29) Is there any easy way to strip blank space from the beginning/end of
  175.       a string?
  176.  
  177.  
  178. Part 5 - Arrays and Shell and External Program Interactions
  179. 5.1) What is the difference between $array[1] and @array[1]?
  180. 5.2) How can I make an array of arrays or other recursive data types?
  181. 5.3) How can I make an array of structures containing various data types?
  182. 5.4) How can I extract just the unique elements of an array?
  183. 5.5) How can I tell whether an array contains a certain element?
  184. 5.6) How can I sort an associative array by value instead of by key?
  185. 5.7) How can I know how many entries are in an associative array?
  186. 5.8) What's the difference between "delete" and "undef" with %arrays?
  187. 5.9) Why don't backticks work as they do in shells?
  188. 5.10) Why does my converted awk/sed/sh script run more slowly in perl?
  189. 5.11) How can I call my system's unique C functions from perl?
  190. 5.12) Where do I get the include files to do ioctl() or syscall()?  [h2ph]
  191. 5.13) Why do setuid perl scripts complain about kernel problems?
  192. 5.14) How can I open a pipe both to and from a command?
  193. 5.15) How can I capture STDERR from an external command?
  194. 5.16) Why doesn't open() return an error when a pipe open fails?
  195. 5.17) Why can't my script read from STDIN after I gave it ^D (EOF)?
  196. 5.18) How can I translate tildes (~) in a file path?
  197. 5.19) How can I convert my shell script to perl?
  198. 5.20) Can I use perl to run a telnet or ftp session?
  199. 5.21) Why do I sometimes get an "Argument list to long" when I use <*>?
  200. 5.22) How do I do a "tail -f" in perl?
  201. 5.23) Is there a way to hide perl's command line from programs such as "ps"?
  202. Stephen P Potter        spp@vx.com        Varimetrix Corporation
  203. 2350 Commerce Park Drive, Suite 4                Palm Bay, FL 32905
  204. (407) 676-3222                           CAD/CAM/CAE/Software
  205.  
  206.