$foo contains an x $foo contains neither an x nor a y... which makes very little sense.
That particular piece of documentation in perlsyn is wrong, and is corrected by patch 33488 which will be included in Perl 5.10.1.
In reply to Re: Perl 5.10 given/when tricks and caveats
by pjf
in thread Perl 5.10 given/when tricks and caveats
by mr_mischief
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |