Besides which, I think that it is overkill to have to give an issue like this serious consideration with every function that I write. Having a default that just flows from my fingers would smooth out the development process.It's not that for every function I write I contemplate what I am going to do in list context, and what I am going to do in scalar context. I just do whatever seems right at the time, and that's usually the right choice. But it's seldom consistent.
Abigail
In reply to Re: What should be returned in scalar context?
by Abigail-II
in thread What should be returned in scalar context?
by tilly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |