develooper Front page | perl.perl5.porters | Postings from July 2012

perl-5.17.1 generates warnings on a \{ inside { ... } regularexpressions delimiters

Thread Next
From:
Shlomi Fish
Date:
July 6, 2012 04:41
Subject:
perl-5.17.1 generates warnings on a \{ inside { ... } regularexpressions delimiters
Message ID:
20120706144136.0180d360@lap.shlomifish.org
Hi all,

As can be seen in this bug:

https://rt.cpan.org/Ticket/Display.html?id=78240

There are some substitution expresions like:

$val =~ s{\$\{([\w.]+)\}}{ $self->get_var($1) }ge;

(with "\{" inside curly braces - { ... } - delimeters),

which now generate warnings, even though it worked in the past.

It broke some of my own CPAN code too.

Is this a bug?

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Escape from GNU Autohell - http://www.shlomifish.org/open-source/anti/autohell/

The cool thing about Vim is — you find something interesting with every typo.
    — Su‐Shee on Freenode’s #perl .

Please reply to list if it's a mailing list post - http://shlom.in/reply .

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