No. You could write a C for loop as:
for ($_ = 0; $_ < @values; ++$_) { ... }
but that would be a particularly bad way to do it. A C for loop is generally a poorer solution that a Perl for loop because there are more parts to go wrong. A C style for loop is highly suceptible to off by one errors.
In reply to Re^2: C-style for loop
by GrandFather
in thread C-style for loop
by mandog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |