From: Vincent Pit Date: Sat, 8 Aug 2009 07:31:42 +0000 (+0200) Subject: Righteously is really rightfully X-Git-Tag: v0.37~5 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=ab05e3c9bda2c17ad17d7fb1f7ce981e91e342d0;p=perl%2Fmodules%2FVariable-Magic.git Righteously is really rightfully --- diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index 756eca9..0a47ae7 100644 --- a/lib/Variable/Magic.pm +++ b/lib/Variable/Magic.pm @@ -278,7 +278,7 @@ C, C, C and C C<$_[2]> is an alias to the current key. Nothing prevents you from changing it, but be aware that there lurk dangerous side effects. -For example, it may righteously be readonly if the key was a bareword. +For example, it may rightfully be readonly if the key was a bareword. You can get a copy instead by passing C<< copy_key => 1 >> to L, which allows you to safely assign to C<$_[2]> in order to e.g. redirect the action to another key. This however has a little performance drawback because of the copy.