Commits

shl...@13c2ddb8-3aa7-4284-800b-8db07c650eef  committed e82ffb0

Synced again.

  • Participants
  • Parent commits e5032ad

Comments (0)

Files changed (7)

File lib/tutorials/perl-for-newbies/lect1-all-in-one/index.html

 The output of this program is:
 </p>
 <div class="code_block"><pre>
-
+5 + 6 = 11
+(2 + 3) * 6 = 30
+2 + 3 * 6 = 20
+2 raised to the power of 8 is 256
+10-5 = 5. 5-10 = -5
+2/3 = 0.666666666666667
 </pre></div>
 <p>
 The operators have the same precendence as their mathemtical equivalents. The
 The output of this program is:
 </p>
 <div class="code_block"><pre>
-
+ong string
+ lon
+A long
 </pre></div>
 <p>( You may notice that the position of the first character is 0. )</p>
 <p>
 </li>
 <li>
 A special value called <tt>undef</tt>. This is the default value of every
-variable that was not initialised before it was accessed.
+variable that was not initialized before it was accessed.
 </li>
 </ol>
 <p>

File lib/tutorials/perl-for-newbies/lect2-all-in-one/index.html

 11.2. Setting Breakpoints and Continuing
 </h1>
 <p>
-When one places a breakpoint on a certain line in a program, he indicates
-that the execution of the program must be stopped when this line is
+When the user places a breakpoint on a certain line in a program, they
+insruct the debugger to stop the execution of the program when this line is
 reached. Then, one can cause the program to run freely using the continue
 command, and have it stop only at this line.
 </p>

File lib/tutorials/perl-for-newbies/lect3-all-in-one/index.html

     <span class="Statement">bless</span> <span class="Identifier">$self</span>, <span class="Identifier">$class</span>;
 
     <span class="Comment"># Now we can retrieve the other arguments passed to the </span>
-    <span class="Comment"># construtor.</span>
+    <span class="Comment"># constructor.</span>
 
     <span class="Statement">my</span> <span class="Identifier">$name</span> = <span class="Statement">shift</span> || <span class="Constant">&quot;</span><span class="Constant">Fooish</span><span class="Constant">&quot;</span>;
     <span class="Statement">my</span> <span class="Identifier">$number</span> = <span class="Statement">shift</span> || <span class="Constant">5</span>;

File lib/tutorials/perl-for-newbies/lect3-all-in-one/objects/making/Foo.orig.pm

     bless $self, $class;
 
     # Now we can retrieve the other arguments passed to the 
-    # construtor.
+    # constructor.
     
     my $name = shift || "Fooish";
     my $number = shift || 5;

File lib/tutorials/perl-for-newbies/lect3-all-in-one/objects/making/Foo.pm

     bless $self, $class;
 
     # Now we can retrieve the other arguments passed to the 
-    # construtor.
+    # constructor.
     
     my $name = shift || "Fooish";
     my $number = shift || 5;

File lib/tutorials/perl-for-newbies/lect3-all-in-one/objects/making/Foo2/Foo.pm

     bless $self, $class;
 
     # Now we can retrieve the other arguments passed to the 
-    # construtor.
+    # constructor.
     
     my $name = shift || "Fooish";
     my $number = shift || 5;

File lib/tutorials/perl-for-newbies/lect3-all-in-one/objects/making/inheritance/Foo.pm

     bless $self, $class;
 
     # Now we can retrieve the other arguments passed to the 
-    # construtor.
+    # constructor.
     
     my $name = shift || "Fooish";
     my $number = shift || 5;