In <[EMAIL PROTECTED]>, "Richard Proctor" writes:
:In general all assignments should wait to the very end, and then assign
:them all. [...] If the expression finally fails the localised values
:would unroll.
Ah, I hadn't anticipated that - I had assumed you would get whatever
was the last value s
> On Fri, 29 Sep 2000 01:02:40 +0100, Hugo wrote:
>
> >It also isn't clear what parts of the expression are interpolated at
> >compile time; what should the following leave in %foo?
> >
> > %foo = ();
> > $bar = "one";
> > "twothree" =~ / (?$bar=two) (?$foo{$bar}=three) /x;
>
> It's not just
On Fri, 29 Sep 2000 01:02:40 +0100, Hugo wrote:
>It also isn't clear what parts of the expression are interpolated at
>compile time; what should the following leave in %foo?
>
> %foo = ();
> $bar = "one";
> "twothree" =~ / (?$bar=two) (?$foo{$bar}=three) /x;
It's not just that. You act as if
In <[EMAIL PROTECTED]>, Perl6 RFC Librarian writes:
:=head1 TITLE
:
:Asignment within a regex
This document could do with running through a spellchecker.
:Potentially the $foo could be any scalar LHS, as in (?$foo{$bar}= ... )!,
:likewise the '=' could be any asignment operator.
It isn't clear
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
Asignment within a regex
=head1 VERSION
Maintainer: Richard Proctor <[EMAIL PROTECTED]>
Date: 16 Aug 2000
Last Modified: 23 Sep 2000
Mailing List: [EMAIL PROTECTED]
Number: 112
Version: 3
Sta