XP is just a number | |
PerlMonks |
Re^3: Split does not behave like a subroutine (prototype / updated)by haukex (Archbishop) |
on Jul 18, 2020 at 18:16 UTC ( [id://11119503]=note: print w/replies, xml ) | Need Help?? |
I think it's unfortunate that undef means special parsing for CORE::builtins. / default LIST for other subs Yes, I agree, it's unfortunate. However, from a quick check it seems that all Perl builtins that accept a plain list explicitly have a @ prototype (like die, unlink, chown), and only those with special parsing return undef for their prototype. Am I wrong or is there no difference between no prototype / prototype (@) I think that's true, yes.
In Section
Meditations
|
|