[[email protected]: Re: Change 31130: [PATCH] FETCH/STORE/LENGTH callbacks for numbered capture variables]

[email protected] (Joshua N Pritikin) Wed, 9 May 2007 09:51:10 +0530
Newsgroups perl.loop
Message-ID <[email protected]>
--/e2eDi0V/xtL+Mc8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Can somebody suggest some other read-only variable or should I just 
disable the test?

-- 
Make April 15 just another day, visit http://fairtax.org

--/e2eDi0V/xtL+Mc8
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <[email protected]>
Delivered-To: joshua@localhost
Received: (qmail 32561 invoked from network); 4 May 2007 07:15:54 +0530
Received: from unknown (HELO emit.lan) (127.0.0.1)
  by localhost with SMTP; 4 May 2007 07:15:54 +0530
Delivered-To: [email protected]
Received: from gmail-pop.l.google.com [72.14.253.109]
	by emit.lan with POP3 (fetchmail-6.3.6)
	for <joshua@localhost> (single-drop); Fri, 04 May 2007 07:15:54 +0530 (IST)
Received: by 10.114.108.18 with SMTP id g18cs226876wac;
        Thu, 3 May 2007 15:05:17 -0700 (PDT)
Received: by 10.90.115.4 with SMTP id n4mr2635463agc.1178229916759;
        Thu, 03 May 2007 15:05:16 -0700 (PDT)
Received: from sunspot.local (openheartlogic.org [207.210.219.4])
        by mx.google.com with SMTP id c53si4042450wrc.2007.05.03.15.05.14;
        Thu, 03 May 2007 15:05:16 -0700 (PDT)
Received-SPF: neutral (google.com: 207.210.219.4 is neither permitted nor denied by domain of [email protected])
DomainKey-Status: good (test mode)
Received: (qmail 6356 invoked by uid 1001); 3 May 2007 22:05:14 +0000
Delivered-To: [email protected]
Received: (qmail 6353 invoked by uid 1003); 3 May 2007 22:05:14 +0000
Delivered-To: [email protected]
Received: (qmail 6350 invoked from network); 3 May 2007 22:05:14 +0000
Received: from unknown (HELO indigo.pobox.com) (207.106.133.17)
  by nirmalvihar.info with SMTP; 3 May 2007 22:05:14 +0000
Received: from indigo.pobox.com (localhost [127.0.0.1])
	by indigo.pobox.com (Postfix) with ESMTP id E2AA42DA33
	for <[email protected]>; Thu,  3 May 2007 18:05:35 -0400 (EDT)
Delivered-To: [email protected]
X-Pobox-Delivery-ID:
 <[email protected]>
Received: from an-out-0708.google.com (an-out-0708.google.com
 [209.85.132.244]) by indigo.pobox.com (Postfix) with ESMTP id 865B62DE49 for
 <[email protected]>; Thu,  3 May 2007 18:01:01 -0400 (EDT)
Received: by an-out-0708.google.com with SMTP id b15so621397ana for
 <[email protected]>; Thu, 03 May 2007 15:00:39 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
 h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qzwlzGHXNoLY1RvtqjMrcqGallOXL1lPtThcf6ntRF1ieLN4l4a/M4vdS2Vivz2Vv+re5gCja5q4vWOwbjigcH9oyr5lIoytthLbKRspbS0uBN4YoZTHy63jUyxHbtNCwpiI0igdrjp3qYjuXz9mKy/lmSOdhLeZ++HBJnThaGM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
 h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=j1PEq8HPziMTRREN21BKb6LBwkVAmNl65l8a1c7SCGdafH0WXYqh3pnsstA7hHkv4hmZey/z2wd18oeVv/jvaJfBkcqV09s6zx8+/a60ltVb2AJPOvEJRfTbbulVnG5uT0awENA2AqUg2k8fYiAE3gL/oQ8ZNu/j3WedPBGGEUw=
Received: by 10.100.94.3 with SMTP id r3mr2126488anb.1178229639027; Thu, 03
 May 2007 15:00:39 -0700 (PDT)
Received: by 10.100.93.3 with HTTP; Thu, 3 May 2007 15:00:38 -0700 (PDT)
Message-ID: <[email protected]>
Date: Thu, 3 May 2007 22:00:38 +0000
From: "=?UTF-8?Q?=C3=86var_Arnfj=C3=B6r=C3=B0_Bjarmason?=" <[email protected]>
To: "Jerry D. Hedden" <[email protected]>
Subject: Re: Change 31130: [PATCH] FETCH/STORE/LENGTH callbacks for numbered
 capture variables
Cc: pp <[email protected]>, [email protected]
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <[email protected]>
 <[email protected]>

>     eval { Event->var(@p, var => \$1) };
>     ok $@, '/read\-only/';
>
> This seems to indicate that something that used to be read-only
> has changed.

This failing test is just like the test in t/op/tr.t that was changed
along with the patch, to see why this happens read the
http://public.activestate.com/pub/apc/perl-current/pod/perlreapi.pod
starting with "Actually perl 5.10 will not I<always> croak".

I'm afraid the only way to fix this is to change the tests since
capture vars behave like tied variables now

--/e2eDi0V/xtL+Mc8--