Incidentally, builtin functions do not provide a similar service:
Some builtin functions do. scalar (your example) doesn't, as it never changes its arguments. However, grep does which caused a strange bug for me once: Aliasing bites.
In reply to Re: Autovivification of scalars in sub calls
by ambrus
in thread Autovivification of scalars in sub calls
by tlm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |