projects
/
gitmo/moose-presentations.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5a6ef0a
)
Setting a read-only attr is an error
Dave Rolsky [Sat, 17 Jul 2010 03:35:07 +0000 (22:35 -0500)]
moose-class/slides/index.html
patch
|
blob
|
blame
|
history
diff --git
a/moose-class/slides/index.html
b/moose-class/slides/index.html
index
3a9878c
..
d2c2ed4
100644
(file)
--- a/
moose-class/slides/index.html
+++ b/
moose-class/slides/index.html
@@
-1107,8
+1107,7
@@
has first_name => ( <span class="highlight">is => 'ro'</span> );
my $person =
Person->new( first_name => 'Dave' );
-$person->first_name('Stevan');
-print $person->first_name; # Dave</code></pre>
+$person->first_name('Stevan'); # dies</code></pre>
</div>