Skip Menu |

This queue is for tickets about the Unicode-String CPAN distribution.

Report information
The Basics
Id: 104879
Status: resolved
Priority: 0/
Queue: Unicode-String

People
Owner: Nobody in particular
Requestors: nanis [...] runu.moc.invalid
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.09
Fixed in: (no value)



Subject: Test failure due to removed defined(%hash)
As of 5.22: Show quoted text
> defined(@array) and defined(%hash) are now fatal errors > These have been deprecated since v5.6.1 and have raised deprecation warnings since v5.16.
Using _init_names() unless keys %NAMES; in Unicode::Charname should fix this. C:\...\Unicode-String-2.09> nmake test Microsoft (R) Program Maintenance Utility Version 12.00.21005.1 Copyright (C) Microsoft Corporation. All rights reserved. "C:\opt\perl-5.22.0\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t\*.t t\byteswap.t ... ok t\charname.t ... Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at C:\...\Unicode-String-2.09\blib\lib/Unicode/CharName.pm line 80. Compilation failed in require at t\charname.t line 3. BEGIN failed--compilation aborted at t\charname.t line 3. t\charname.t ... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run
Fixed in 2.10