| Analysis of Solutions (Yes = good) | ||||
|---|---|---|---|---|
| Solution | Optimized away | Strict friendly | Indentable directives | Usable mid-statement |
| No | Yes | No | No |
| Yes | No* | No | No |
| Yes | Yes | No | No |
(and variations) | Yes | Yes | Yes | No |
| Yes | Yes | No | Yes |
| Yes | Yes | Yes | Yes |
Judgements on readability left to you.
None of the above give warnings.
* — One cannot simply add my because the behaviour or my ... if 0; is undefined, and thus must not be used.
In reply to Re: Multi-line comments in perl code?
by ikegami
in thread Multi-line comments in perl code?
by mrguy123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |