develooper Front page | perl.perl5.porters | Postings from April 2003

Re: [perl #21744] Deparse bug: "\::" deparsed as "::"

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
April 1, 2003 12:11
Subject:
Re: [perl #21744] Deparse bug: "\::" deparsed as "::"
Message ID:
20030401221443.6a07e022.rgarciasuarez@free.fr
Enache Adrian wrote:
> On Sat, Mar 29, 2003 at 06:50:55PM +0200, I wrote:
> > -	    || ($last =~ /^[{\[\w_]/ &&
> > +	    || ($last =~ /^[:{\[\w_]/ &&
> 
> And <'> should be probably there too.
> -	    || ($last =~ /^[:{\[\w_]/ &&
> +	    || ($last =~ /^[:'{\[\w_]/ &&

Thanks, applied as #19127.

> $ perl -MO=Deparse
> "${a}'b"
> ^D
> "$a'b";
> 
> which perl will parse as $a::b ...
-- 
Unlocked is not *NIX

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About