On 11/25/09 Wed Nov 25, 2009 2:14 AM, "kusuma ramaswamy" <[email protected]> scribbled:
> Hello, I am new to perl. I would like to know how to toggle a variable with
> each iteration in a loop ??
while( ... ) {
$variable = ! $variable;
}
Does that do what you want?
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
