Re: [PATCH] Refactoring to Sv*_set() macros - patch #5

[email protected] (Nicholas Clark) Tue, 19 Apr 2005 11:23:21 +0100
Newsgroups perl.perl5.porters,perl.ponie.dev
Message-ID <[email protected]>
On Mon, Apr 18, 2005 at 07:09:25PM -0500, Steve Peters wrote:
> My cruel taskmaster reminded me that SvRV(), SvSTASH(), SvMAGIC(), SvLEN(),
> SvCUR(), and SvEND() all needed to changed as well.  So, I'm taking care
> of all of them all in one patch.  

Well, you did volunteer. :-)

> Amongst the highlights of this patch...
> * new SvRV_set(), SvSTASH_set(), and SvMAGIC_set() macros in sv.h
> * new PAD_COMPNAME_GEN_set() macro (and apidocs too!)
> * version bumps on all modules affected by patchs one through five

Thanks, applied (24248)

Very useful.

> --- lib/List/Util.pm.orig	Sat May 22 03:02:24 2004
> +++ lib/List/Util.pm	Mon Apr 18 18:26:54 2005
> @@ -10,7 +10,7 @@
>  
>  @ISA        = qw(Exporter);
>  @EXPORT_OK  = qw(first min max minstr maxstr reduce sum shuffle);
> -$VERSION    = "1.14";
> +$VERSION    = "1.14_01";
>  $XS_VERSION = $VERSION;
>  $VERSION    = eval $VERSION;

That should actually have been somewhere down ext/List/Util/lib, so I applied
it there.

Nicholas Clark