X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FVariable%2FMagic.pm;h=0a47ae784765acf4504fa735c43ba870dc704e3a;hb=ab05e3c9bda2c17ad17d7fb1f7ce981e91e342d0;hp=756eca976868801c4ded1f1f3935d0ec00a467f6;hpb=e3bd23f8cddae512d24be3946bc34588a22945c9;p=perl%2Fmodules%2FVariable-Magic.git 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.