develooper Front page | perl.perl5.porters | Postings from May 2013

Re: [perl #117907] On RHS of s///, =?utf-8?b?JHs5fQ==?= works but =?utf-8?b?JHsxMH0=?= does not

Thread Next
From:
Ed Avis
Date:
May 8, 2013 13:11
Subject:
Re: [perl #117907] On RHS of s///, =?utf-8?b?JHs5fQ==?= works but =?utf-8?b?JHsxMH0=?= does not
Message ID:
loom.20130508T150718-620@post.gmane.org
Another interesting wrinkle to this bug is that $010 and ${010} do different
things.  As with hash lookups, there are two things you can put inside the
curlies - a literal string or an expression - and Perl has to magically
decide which one you meant.  However, since there is no builtin variable $010
I think this may not matter much.  I would suggest that variable names
which begin with $0 but are not $0 should be prohibited, so that

    $010 = 'a';

would be a syntax error.

-- 
Ed Avis <eda@waniasset.com>


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