On Thursday, April 11, 2002, at 12:02 , Teresa Raymond wrote:

> Could someone explain the while and do w/ couple of examples?  I have yet 
> to use them, only using the foreach loop and if else stmts.

the obvious ones are

        while(<STDIN>) {

                # bunch of stuff one wants to do with the STDIN stuff
        }

or my all time basic

        while ( my ( $key, $val ) = each %someHash ) {

                # based upon key or val do the stuff for all elements of the hash
        }

in the main I do not do 'do' things...

ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to