foo needs a function signature with the right type.
And yes I know that subs can be redefined, but change of prototype is also emitting a warning.
Really complicated are lvalue situations like aliasing!
But hey, I never said it's easy... ;)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re^4: Why not perl have raw/native type
by LanX
in thread Why not perl have raw/native type
by xiaoyafeng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |