From: Vincent Pit Date: Mon, 9 Feb 2009 00:34:13 +0000 (+0100) Subject: Use VMG_OP_INFO_* macros in the synopsys for op_info X-Git-Tag: v0.30~9 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FVariable-Magic.git;a=commitdiff_plain;h=7299ee47363209fde8f0d63e5339a44659d3c608 Use VMG_OP_INFO_* macros in the synopsys for op_info --- diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index b82e214..91a4bad 100644 --- a/lib/Variable/Magic.pm +++ b/lib/Variable/Magic.pm @@ -300,7 +300,7 @@ BEGIN { exists => sub { my ($ref, $data, $key) = @_; ... }, delete => sub { my ($ref, $data, $key) = @_; ... }, copy_key => $bool, - op_info => [ 0 | 1 | 2 ] + op_info => [ 0 | VMG_OP_INFO_NAME | VMG_OP_INFO_OBJECT ] This function creates a 'wizard', an opaque type that holds the magic information. It takes a list of keys / values as argument, whose keys can be :