It's the indirect method call syntax. Your code is interpreted as:
use strict; use warnings; STDOUT->say('like a charm');
So you're not using the say keyword; you're using the say method in IO::Handle.
In reply to Re: Unexpected behavior of function 'say'
by tobyink
in thread Unexpected behavior of function 'say'
by farang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |