Johan Vromans asked: >> $Zero ~~ *GLOB # unmatchable (invalid type) -----> undef >> $Zero ~~ \%HASH # unmatchable (invalid type) -----> undef >> $Zero ~~ \@ARRAY # unmatchable (invalid type) -----> undef > > Syntax error? Possibly. Ideally, even. But I don't insist on it (mainly because I'm not volunteering to implement it ;-) In any case, the following are still exactly the same problem and they certainly can't be resolved by the parser (or at compile-time): $Zero ~~ $GLOB_ref # unmatchable (invalid type) -----> undef $Zero ~~ $HASH_ref # unmatchable (invalid type) -----> undef $Zero ~~ $ARRAY_ref # unmatchable (invalid type) -----> undef DamianThread Previous | Thread Next