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

[perl #112456] undef *^H is not ambiguous

From:
Father Chrysostomos via RT
Date:
May 21, 2012 17:15
Subject:
[perl #112456] undef *^H is not ambiguous
Message ID:
rt-3.6.HEAD-4610-1337645730-1485.112456-14-0@perl.org
On Sun Apr 15 17:06:22 2012, ilmari wrote:
> This fixes the following bogus warning [perl #112456]:
> 
>   $ perl -e 'undef *^H'
>   Warning: Use of "undef" without parentheses is ambiguous at -e line
> 1.
> 
> Compare to the non-warning variant:
> 
>     $ perl -e 'undef *{^H}'
> ---
>  t/lib/warnings/toke |    2 ++
>  toke.c              |    4 ++--
>  2 files changed, 4 insertions(+), 2 deletions(-)

Thank you.  Applied as fbdd83da9d18.

-- 

Father Chrysostomos




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