projects
/
gitmo/moose-presentations.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Setting a read-only attr is an error
[gitmo/moose-presentations.git]
/
moose-class
/
slides
/
index.html
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>