Created
December 27, 2015 01:46
-
-
Save zoffixznet/ad160008e76b5ac1f2bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my @animals = ['camel', 'vicuna', 'llama']; | |
my @leaving = splice(@animals, 1); | |
say @leaving; | |
say ['camel', 'vicuna', 'llama'].splice(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment