User Tools

Site Tools


perl:prototype_class_for_oo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

perl:prototype_class_for_oo [2010/01/08 13:51]
tkbletsc created
perl:prototype_class_for_oo [2010/01/08 13:52] (current)
tkbletsc
Line 1: Line 1:
 Awesome.pm: Awesome.pm:
-[code=perl]+<code perl>
 package Awesome; package Awesome;
  
Line 41: Line 41:
  
 1;  # so the require or use succeeds 1;  # so the require or use succeeds
-[/code]+</code>
  
 Example use: Example use:
  
-[code=perl]+<code perl>
 #​!/​usr/​bin/​perl #​!/​usr/​bin/​perl
  
Line 56: Line 56:
 my $n = Awesome->​count_objects_created();​ my $n = Awesome->​count_objects_created();​
 $obj->​do_stuff();​ $obj->​do_stuff();​
-[/code]+</code>
perl/prototype_class_for_oo.txt ยท Last modified: 2010/01/08 13:52 by tkbletsc