There is no code (as posted) where ymd $foo is shown.
The error message occurs for any string that gets used as a class/object without being blessed.
In reply to Re^2: Perl Syntax - What's the difference?
by Corion
in thread Perl Syntax - What's the difference?
by Galdor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |