And they're evil like goto in C.
goto is very useful in C.
TYPE* foo(...) { ... if (...) goto Error; ... if (...) goto Error; ... if (...) goto Error; ... return p; Error: ... cleanup acquired resources ... return NULL; }
In Perl, not so much.
In reply to Re^2: What's the better Perl style? Define parameters or not?
by ikegami
in thread What's the better Perl style? Define parameters or not?
by pureHeart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |