X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FVariable%2FMagic.pm;h=2ca401216f653532cfaea63c7f7ffd7ebff0f5b7;hb=544f8a0bb4359368c34abd3f7c7f9dfc83a3f7f5;hp=44edfe64fccbd69512a15535becb22f6c92cdeed;hpb=b62747ec94e8fc6500fa3140e457a436e8a7b12f;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index 44edfe6..2ca4012 100644 --- a/lib/Variable/Magic.pm +++ b/lib/Variable/Magic.pm @@ -401,7 +401,7 @@ Of course, this example does nothing with the values that are added after the C< getdata [$@%&*]var, [$wiz|$sig] This accessor fetches the private data associated with the magic C<$wiz> (or the signature C<$sig>) in the variable. -It croaks when C<$wiz> or C<$sig> do not represent a current valid magic object attached to the variable, and returns C when the wizard has no data constructor or when the data is actually C. +It croaks when C<$wiz> or C<$sig> do not represent a valid magic object, and returns an empty list if no such magic is attached to the variable or when the wizard has no data constructor. # Get the attached data, or undef if the wizard does not attach any. my $data = getdata $x, $wiz;