next up previous contents index
Next: Variables Up: Physics 2101 - Scientific Previous: A Perl Program   Contents   Index


Programming Elements

There are five basic elements of programming that are present in essentially all languages. These notes are not meant to be an all-inclusive reference guide to Perl. You should become very familiar with the copious documentation that comes with Perl - on Windows, see the HTML links under the ActivePerl entry in the Start menu. You can also access the documentation within a terminal window via perldoc:
  C:\> perldoc perl        # brings up a table of contents
  C:\> perldoc perlintro   # introduction to Perl
  C:\> perldoc -f rand     # quick help on using the rand function
  C:\> perldoc File::Copy  # help on using the File::Copy module
Finally, there are many good Perl tutorials on the web - do a Google search for Perl tutorial to start.
next up previous contents index
Next: Variables Up: Physics 2101 - Scientific Previous: A Perl Program   Contents   Index