IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2591 for trunk/doc/misc/Foo.pm


Ignore:
Timestamp:
Dec 1, 2004, 12:34:23 PM (22 years ago)
Author:
jhoblitt
Message:

only use source code I hold the copyright on for examples
LaTeX formatting
document formatting
grammar and spelling fixes
misc example corrections
misc corrections
moved example source code to appendix
added several new programming practices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/misc/Foo.pm

    r2402 r2591  
    1 # Copyright (C) 2004  Joshua Hoblitt
     1# Copyright (C) 2004  Author's Name
    22#
    33# $Id$
     
    1818use constant MAXFOO => 3;               # maximum number of foos
    1919
    20 my $baz;                                # is a lexical variable in the top level scope
     20our $bar;                               # is a package variable
     21
     22my $baz;                                # is a package scoped lexical variable
    2123
    2224sub fuu
     
    2830
    2931__END__
    30 
    31 ...
Note: See TracChangeset for help on using the changeset viewer.