This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/op/smartkve.t: single-quote some eval stuff
authorDavid Mitchell <davem@iabyn.com>
Wed, 24 Apr 2013 16:57:04 +0000 (17:57 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 24 Apr 2013 16:57:04 +0000 (17:57 +0100)
commitfeff7485ae0da6a0fe00f976c4294583b5c11dc9
tree7ba0db7a10af442ee21f3877d33ff79ad1af62dd
parenta453e28ae209e82ef2533e2e2bfe25490fd60654
t/op/smartkve.t: single-quote some eval stuff

Three tests were wrong because they incorrectly double- rather than
single-quoted an eval string like

    eval "keys $hash ...."

Since the tests were supposed to generate syntax errors anyway it didn't
show up. However, the $hash ref was being expanded to HASH(0x......)
and on some platform / compiler permutations it would generate some
mysterious

    Hexadecimal number > 0xffffffff non-portable

warnings.
t/op/smartkve.t