12 # Used to segfault (bug #15479)
15 'Odd number of elements in hash assignment at - line 1.',
16 { switches => [ '-w' ] },
17 'delete $::{STDERR} and print a warning',
22 'BEGIN { $::{"X::"} = 2 }',
24 { switches => [ '-w' ] },
25 q(Insert a non-GV in a stash, under warnings 'once'),
28 ok( !defined %oedipa::maas::, q(stashes aren't defined if not used) );
29 ok( !defined %{"oedipa::maas::"}, q(- work with hard refs too) );
31 ok( defined %tyrone::slothrop::, q(stashes are defined if seen at compile time) );
32 ok( defined %{"tyrone::slothrop::"}, q(- work with hard refs too) );
34 ok( defined %bongo::shaftsbury::, q(stashes are defined if a var is seen at compile time) );
35 ok( defined %{"bongo::shaftsbury::"}, q(- work with hard refs too) );
37 package tyrone::slothrop;
38 $bongo::shaftsbury::scalar = 1;