Or this can be further simplified:
while () {
$counter += 20;
}
The += operator is equivilent to saying add the value then assign it to
the variable.
Tim Donahue
> -Original Message-
> From: Chance Ervin [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 29, 2004 1:03 PM
> To: [EMAIL
I have a program that I am writing that I need to accept input from
either STDIN (for file redirections or pipes) or from the command-line.
The program manipulates email addresses for our mail servers, so I
should have the option to do either 'email_add
[EMAIL PROTECTED]' or 'email_add < /path/to/f