From: Vincent Pit Date: Fri, 25 Jun 2010 20:31:57 +0000 (+0200) Subject: Prettify the constants export list X-Git-Tag: v0.43~2 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=a48cf4e9d1dcf66bbde46f14581fc304a88ece6a;p=perl%2Fmodules%2FVariable-Magic.git Prettify the constants export list --- diff --git a/lib/Variable/Magic.pm b/lib/Variable/Magic.pm index 05fdde1..91f5341 100644 --- a/lib/Variable/Magic.pm +++ b/lib/Variable/Magic.pm @@ -567,17 +567,17 @@ use base qw/Exporter/; our @EXPORT = (); our %EXPORT_TAGS = ( 'funcs' => [ qw/wizard cast getdata dispell/ ], - 'consts' => [ - qw/MGf_COPY MGf_DUP MGf_LOCAL VMG_UVAR/, - qw/VMG_COMPAT_ARRAY_PUSH_NOLEN VMG_COMPAT_ARRAY_PUSH_NOLEN_VOID/, - qw/VMG_COMPAT_ARRAY_UNSHIFT_NOLEN_VOID/, - qw/VMG_COMPAT_ARRAY_UNDEF_CLEAR/, - qw/VMG_COMPAT_SCALAR_LENGTH_NOLEN/, - qw/VMG_COMPAT_GLOB_GET/, - qw/VMG_PERL_PATCHLEVEL/, - qw/VMG_THREADSAFE VMG_FORKSAFE/, - qw/VMG_OP_INFO_NAME VMG_OP_INFO_OBJECT/ - ] + 'consts' => [ qw/ + MGf_COPY MGf_DUP MGf_LOCAL VMG_UVAR + VMG_COMPAT_ARRAY_PUSH_NOLEN VMG_COMPAT_ARRAY_PUSH_NOLEN_VOID + VMG_COMPAT_ARRAY_UNSHIFT_NOLEN_VOID + VMG_COMPAT_ARRAY_UNDEF_CLEAR + VMG_COMPAT_SCALAR_LENGTH_NOLEN + VMG_COMPAT_GLOB_GET + VMG_PERL_PATCHLEVEL + VMG_THREADSAFE VMG_FORKSAFE + VMG_OP_INFO_NAME VMG_OP_INFO_OBJECT + / ], ); our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS; $EXPORT_TAGS{'all'} = [ @EXPORT_OK ];