Lines Matching full:each
89 # Each -- errors
90 set_errpat 'each';
92 eval "each undef";
94 'Errors: each undef throws error'
98 eval q"each $empty";
100 'Errors: each $undef throws error'
103 is($empty, undef, 'each $undef does not vivify $undef');
105 eval "each 3";
106 like($@, qr/Type of arg 1 to each must be hash/,
107 'Errors: each CONSTANT throws error'
110 eval "each qr/foo/";
112 'Errors: each qr/foo/ throws error'
115 eval q"each $hash qw/foo bar/";
117 'Errors: each $hash, @stuff throws error'