Believe me, I have had the same feeling with file-names as arguments to in and out
It's the inconsistency of it.
| in | |||||
|---|---|---|---|---|---|
| Data Structure | Sub | File Name | File Handle | ||
| out | [Absent] | Works | Works | Works | Works |
| Undefined Scalar | Works | Works | Run-time error | Run-time error | |
| File Name | Works | Works | Instructs the programmer | Run-time error | |
| File Handle | Works | Works | Run-time error | Run-time error | |
The instruction to the programmer is doubly weird because it could simply do what it would do if the programmer used the suggested code.
In reply to Re^3: The future of Text::CSV_XS - TODO
by ikegami
in thread The future of Text::CSV_XS - TODO
by Tux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |