User Tools

Site Tools



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]
Line 1: Line 1:
-[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
 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();​
perl/prototype_class_for_oo.txt ยท Last modified: 2010/01/08 13:52 by tkbletsc