My point was that my, our and state aren't subs but operators and shouldn't be handled as subs.
The named operators (my, print, substr, time, etc) are just like subs in many regards, to the point of being called (builtin) functions.
my happens to have a compile-time effect, but it still behaves like a sub at run-time.
In reply to Re^3: why doesn't "my ($a,$b)" return a list?
by ikegami
in thread why doesn't "my ($a,$b)" return a list?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |