Re: [perl #82638] statement after nested if breaks fails to parse without newlines

2011-01-24 Thread Moritz Lenz
On 01/24/2011 02:22 PM, Stephen Simmons wrote: > So <= needs to be surrounded by whitespace? Yes. > Is that true of all infix operators? Only for those that could be parsed as postfixes or postcircumfixes. But in general it's a good idea to use whitespace around all infix operators. Cheers, Mor

Re: [perl #82638] statement after nested if breaks fails to parse without newlines

2011-01-24 Thread Stephen Simmons
So <= needs to be surrounded by whitespace? Is that true of all infix operators? Stephen Simmons On Jan 24, 2011, at 04:12 AM, Moritz Lenz via RT wrote: > Am 23.01.2011 07:48, schrieb Stephen Simmons (via RT): >> # New Ticket Created by "Stephen Simmons" >> # Please include the string: [perl #

[perl6/specs] a6a03f: [S03] When a chain of ^^s gets only false argument...

2011-01-24 Thread noreply
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: a6a03fb89be3740987c60853c352bc49b8625cfe https://github.com/perl6/specs/commit/a6a03fb89be3740987c60853c352bc49b8625cfe Author: Kodi Arfer Date: 2011-01-24 (Mon, 24 Jan 2011) Changed paths: M S03-operators.pod Log

Re: A problem on regex.

2011-01-24 Thread Moritz Lenz
Am 24.01.2011 09:14, schrieb chris: The $0 var is set on a mach operation but not in a substitute. So that its value is "Undef" it's undefined, but there isn't one canonical Undef anymore. Where is the problem ? in src/Perl6/Actions.pm, method quote:sym, lines 2888-2923 Cheers, Moritz

Re: [perl #82638] statement after nested if breaks fails to parse without newlines

2011-01-24 Thread Moritz Lenz
Am 23.01.2011 07:48, schrieb Stephen Simmons (via RT): # New Ticket Created by "Stephen Simmons" # Please include the string: [perl #82638] # in the subject line of all future correspondence about this issue. #http://rt.perl.org/rt3/Ticket/Display.html?id=82638> I've attached two programs, wh

A problem on regex.

2011-01-24 Thread chris
Hello everybody. Lets explain my problem. Lets see the folowing perl 5 program : #!/usr/bin/perl my $c = "AABBCC"; my $m = "B"; $c =~ s/($m+)/XX/; print "Chain : $1.\n"; print "Final chain : $c.\n"; Le résultat est bien celui que j'attendais : Chain : BB. Final chain : AAXXCC. Lets see now Per

[perl #82638] statement after nested if breaks fails to parse without newlines

2011-01-24 Thread Stephen Simmons
# New Ticket Created by "Stephen Simmons" # Please include the string: [perl #82638] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=82638 > I've attached two programs, which differ only in whitespace; one (bug1b) compiles