You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Either in the section that discusses arrays vs lists, or in a section on prototypes, it might be worth pointing out the (possibly) surprising behavior of this:
sub foo($$$) { say "@_" }
foo( (1,2,3), 4, 5 ); # prints: 3 4 5
The text was updated successfully, but these errors were encountered:
Either in the section that discusses arrays vs lists, or in a section on prototypes, it might be worth pointing out the (possibly) surprising behavior of this:
sub foo($$$) { say "@_" }
foo( (1,2,3), 4, 5 ); # prints: 3 4 5
The text was updated successfully, but these errors were encountered: