in reply to 'while', 'foreach' not in perlfunc

I don't understand your question. while and foreach are documented in perlsyn as they are statement modifiers.

Update: I of course meant compound statements

Careful with that hash Eugene.