| Next | Program Repair Shop | 17 |
Even in C, we could have done this better
In C, you can declare variables at the head of any block:
/* C */
if (buf = malloc(bufsize)) {
char *p = buf;
...
}
In Perl, you can declare variables anywhere
| Next | ![]() |
Copyright © 2006 M. J. Dominus |