Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
document X::Assignment::RO
  • Loading branch information
moritz committed Jan 24, 2015
1 parent 0b7b112 commit cd56de3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions lib/Type/X/Assignment/RO.pod
@@ -0,0 +1,24 @@
=begin pod
=TITLE class X::Assignment::RO
=SUBTITLE Exception thrown when trying to assign to something read-only
class X::Assignment::RO is Exception { ... }
Code like
sub f() { 42 };
f() = 'new value'; # throws an X::Assignment::RO
throws an exception of type C<X::Assignment::RO>.
=head1 Methods
=head2 method typename
method typename(X::Assignment::RO:D:) returns Str
Returns the type name of the value on the left-hand side
=end pod

0 comments on commit cd56de3

Please sign in to comment.