Skip to content

Commit

Permalink
warn about breaking inmutability with Proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
gfldex committed Aug 17, 2016
1 parent 6b162d4 commit 2ebe550
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/Type/Proxy.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
class Proxy {}
A Proxy is an object that allows you to execute whenever a value is retrieved
from a container (C<FETCH>) or when it is set (C<STORE>).
from a container (C<FETCH>) or when it is set (C<STORE>). Please note that
C<Proxy> can introduce mutability at places where it would break behaviour,
e.g. in C<Hash> keys.
To create a container that returns twice of what was stored in it, you do
something like this:
Expand Down

0 comments on commit 2ebe550

Please sign in to comment.