On 8/24/06, Audrey Tang <[EMAIL PROTECTED]> wrote:
Mark, can you add a test to t/statements/for.t? A commit bit is on
its way to your inbox. :-)
Done. Tests 37 (implicit "rw $_") and 38 (explicit "-> $x is rw")
add to for.t as of r12968.
--
Mark J. Reed <[EMAIL PROTECTED]>
On 8/24/06, Audrey Tang <[EMAIL PROTECTED]> wrote:
Mark, can you add a test to t/statements/for.t? A commit bit is on
its way to your inbox. :-)
Happily, as soon as I receive it.
Upon further investigation I see that the problem is not rw parameters
per se, but the ability to pass individual
在 2006/8/25 上午 4:37 時,Larry Wall 寫到:
On Thu, Aug 24, 2006 at 03:11:10PM -0400, Mark J. Reed wrote:
: On 8/24/06, Larry Wall <[EMAIL PROTECTED]> wrote:
: >On Wed, Aug 23, 2006 at 05:01:43PM -0400, Mark J. Reed wrote:
: >: Sorry if this is a known question, but I didn't see it
mentioned in the
On Thu, Aug 24, 2006 at 03:11:10PM -0400, Mark J. Reed wrote:
: On 8/24/06, Larry Wall <[EMAIL PROTECTED]> wrote:
: >On Wed, Aug 23, 2006 at 05:01:43PM -0400, Mark J. Reed wrote:
: >: Sorry if this is a known question, but I didn't see it mentioned in the
: >: recent archive or FAQ.
: >:
: >: for (
On 8/24/06, Larry Wall <[EMAIL PROTECTED]> wrote:
On Wed, Aug 23, 2006 at 05:01:43PM -0400, Mark J. Reed wrote:
: Sorry if this is a known question, but I didn't see it mentioned in the
: recent archive or FAQ.
:
: for ($a, $b) { $_ = ... }
:
: gives me a "Can't modify constant item: VRef ".
Whi
On Wed, Aug 23, 2006 at 05:01:43PM -0400, Mark J. Reed wrote:
: Sorry if this is a known question, but I didn't see it mentioned in the
: recent archive or FAQ.
:
: for ($a, $b) { $_ = ... }
:
: gives me a "Can't modify constant item: VRef ".
Which is correct as the default.
: Making it explici
Sorry if this is a known question, but I didn't see it mentioned in the
recent archive or FAQ.
for ($a, $b) { $_ = ... }
gives me a "Can't modify constant item: VRef ". Making it
explicitly rw doesn't help:
for ($a, $b) -> $x is rw { $x = ... }
Is this a "haven't gotten around to rw parameter